From c50b3ea11d572895abf42efee79e8647cd3c42b5 Mon Sep 17 00:00:00 2001 From: Vanya Sergeev Date: Mon, 2 Feb 2015 16:35:35 +0100 Subject: [PATCH] lua-periphery: new package Signed-off-by: Vanya Sergeev [ThomasDS: rewrap package/lua-periphery/Config.in] Signed-off-by: Thomas De Schampheleire Tested-by: Thomas De Schampheleire (compile-tested on x86/glibc armel/uclibc) Signed-off-by: Thomas Petazzoni --- 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 09d49d9db2..2f90830d68 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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 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))