From a435247b015a794d1c302c7b19ff68a616a1078b Mon Sep 17 00:00:00 2001 From: Marcin Niestroj Date: Tue, 20 Jun 2017 17:16:31 +0200 Subject: [PATCH] package/lua-flu: new package Signed-off-by: Marcin Niestroj [Thomas: "depends on" before "select" in Config.in] Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + package/Config.in | 1 + package/lua-flu/Config.in | 18 ++++++++++++++++++ package/lua-flu/lua-flu.hash | 2 ++ package/lua-flu/lua-flu.mk | 14 ++++++++++++++ 5 files changed, 36 insertions(+) create mode 100644 package/lua-flu/Config.in create mode 100644 package/lua-flu/lua-flu.hash create mode 100644 package/lua-flu/lua-flu.mk diff --git a/DEVELOPERS b/DEVELOPERS index 9d336d1b25..5729351231 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1066,6 +1066,7 @@ F: board/grinn/ F: configs/grinn_* F: package/argparse/ F: package/easydbus/ +F: package/lua-flu/ F: package/luaossl/ F: package/rs485conf/ F: package/turbolua/ diff --git a/package/Config.in b/package/Config.in index e640ae62cc..d2b311986f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -566,6 +566,7 @@ menu "Lua libraries/modules" source "package/lua-coatpersistent/Config.in" source "package/lua-csnappy/Config.in" source "package/lua-ev/Config.in" + source "package/lua-flu/Config.in" source "package/lua-iconv/Config.in" source "package/lua-messagepack/Config.in" source "package/lua-msgpack-native/Config.in" diff --git a/package/lua-flu/Config.in b/package/lua-flu/Config.in new file mode 100644 index 0000000000..526dc90087 --- /dev/null +++ b/package/lua-flu/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_LUA_FLU + bool "lua-flu" + depends on !BR2_STATIC_LIBS # libfuse + depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse + depends on BR2_USE_MMU # libfuse + select BR2_PACKAGE_ATTR + select BR2_PACKAGE_LIBFUSE + help + Flu is a Lua binding for FUSE, which is a library allowing + creation of filesystem drivers run in userspace. Flu is a high + level binding, using basic Lua types rather than userdata + whenever possible. + + http://piratery.net/flu/ + +comment "lua-flu needs a toolchain w/ threads, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/package/lua-flu/lua-flu.hash b/package/lua-flu/lua-flu.hash new file mode 100644 index 0000000000..92a0a13ffd --- /dev/null +++ b/package/lua-flu/lua-flu.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 1389c22daec77161ec93ff90c39ee70e0f8a656ff92f22f9cf5d7121999d5c53 flu-20150331-1.src.rock diff --git a/package/lua-flu/lua-flu.mk b/package/lua-flu/lua-flu.mk new file mode 100644 index 0000000000..7cfea8e6d0 --- /dev/null +++ b/package/lua-flu/lua-flu.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# lua-flu +# +################################################################################ + +LUA_FLU_VERSION = 20150331-1 +LUA_FLU_NAME_UPSTREAM = flu +LUA_FLU_SUBDIR = doub-flu-a7daae986339 +LUA_FLU_LICENSE = MIT +LUA_FLU_LICENSE_FILES = $(LUA_FLU_SUBDIR)/doc/LICENSE.txt +LUA_FLU_DEPENDENCIES = attr libfuse + +$(eval $(luarocks-package)) -- 2.30.2