]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
lua-periphery: new package
authorVanya Sergeev <vsergeev@gmail.com>
Mon, 2 Feb 2015 15:35:35 +0000 (16:35 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 23 Feb 2015 11:33:09 +0000 (12:33 +0100)
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>
package/Config.in
package/lua-periphery/Config.in [new file with mode: 0644]
package/lua-periphery/lua-periphery.mk [new file with mode: 0644]

index 09d49d9db2d599a6b3e4db4b67cbb4f37f651277..2f90830d6820b661f7436dca5e2298a341846cd0 100644 (file)
@@ -446,6 +446,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 (file)
index 0000000..de5a716
--- /dev/null
@@ -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 (file)
index 0000000..0717a27
--- /dev/null
@@ -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))