From: Thomas De Schampheleire <patrickdepinguin@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/2] lua-periphery: new package
Date: Mon, 2 Feb 2015 16:35:35 +0100 [thread overview]
Message-ID: <1422891336-14461-1-git-send-email-patrickdepinguin@gmail.com> (raw)
From: Vanya Sergeev <vsergeev@gmail.com>
Signed-off-by: Vanya Sergeev <vsergeev@gmail.com>
[ThomasDS: rewrap package/lua-periphery/Config.in]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
(compile-tested on x86/glibc armel/uclibc)
---
package/Config.in | 1 +
package/lua-periphery/Config.in | 8 ++++++++
package/lua-periphery/lua-periphery.mk | 13 +++++++++++++
3 files changed, 22 insertions(+)
create mode 100644 package/lua-periphery/Config.in
create mode 100644 package/lua-periphery/lua-periphery.mk
diff --git a/package/Config.in b/package/Config.in
index bcd1481..ed49da4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -425,6 +425,7 @@ menu "Lua libraries/modules"
source "package/lua-ev/Config.in"
source "package/lua-messagepack/Config.in"
source "package/lua-msgpack-native/Config.in"
+ source "package/lua-periphery/Config.in"
source "package/lua-testmore/Config.in"
source "package/luabitop/Config.in"
source "package/luacrypto/Config.in"
diff --git a/package/lua-periphery/Config.in b/package/lua-periphery/Config.in
new file mode 100644
index 0000000..de5a716
--- /dev/null
+++ b/package/lua-periphery/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LUA_PERIPHERY
+ bool "lua-periphery"
+ depends on BR2_PACKAGE_HAS_LUAINTERPRETER
+ help
+ A library for GPIO, SPI, I2C, MMIO, and Serial peripheral I/O
+ interface access in userspace Linux with Lua.
+
+ https://github.com/vsergeev/lua-periphery
diff --git a/package/lua-periphery/lua-periphery.mk b/package/lua-periphery/lua-periphery.mk
new file mode 100644
index 0000000..0717a27
--- /dev/null
+++ b/package/lua-periphery/lua-periphery.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# lua-periphery
+#
+################################################################################
+
+LUA_PERIPHERY_VERSION_UPSTREAM = 1.0.4
+LUA_PERIPHERY_VERSION = $(LUA_PERIPHERY_VERSION_UPSTREAM)-1
+LUA_PERIPHERY_SUBDIR = lua-periphery
+LUA_PERIPHERY_LICENSE = MIT
+LUA_PERIPHERY_LICENSE_FILES = $(LUA_PERIPHERY_SUBDIR)/LICENSE
+
+$(eval $(luarocks-package))
--
1.8.5.1
next reply other threads:[~2015-02-02 15:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-02 15:35 Thomas De Schampheleire [this message]
2015-02-02 15:35 ` [Buildroot] [PATCH v2 2/2] luacrypto: remove duplicate dependency on luainterpreter Thomas De Schampheleire
2015-02-02 19:59 ` François Perrad
2015-02-23 11:36 ` [Buildroot] [PATCH v2 1/2] lua-periphery: new package Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1422891336-14461-1-git-send-email-patrickdepinguin@gmail.com \
--to=patrickdepinguin@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox