summaryrefslogtreecommitdiffstats
path: root/package/lua-periphery
diff options
context:
space:
mode:
authorVanya Sergeev <vsergeev@gmail.com>2015-02-02 16:35:35 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-02-23 12:33:09 +0100
commitc50b3ea11d572895abf42efee79e8647cd3c42b5 (patch)
tree9b1082429e4293d6ae8d2d9a86f7ac1ae3081604 /package/lua-periphery
parent19068bdd50acf5d7688810a294ac896a91db7541 (diff)
downloadbuildroot-c50b3ea11d572895abf42efee79e8647cd3c42b5.tar.gz
buildroot-c50b3ea11d572895abf42efee79e8647cd3c42b5.zip
lua-periphery: new package
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) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lua-periphery')
-rw-r--r--package/lua-periphery/Config.in8
-rw-r--r--package/lua-periphery/lua-periphery.mk13
2 files changed, 21 insertions, 0 deletions
diff --git a/package/lua-periphery/Config.in b/package/lua-periphery/Config.in
new file mode 100644
index 0000000000..de5a71633c
--- /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 0000000000..0717a27545
--- /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))
OpenPOWER on IntegriCloud