summaryrefslogtreecommitdiffstats
path: root/package/lua-flu
diff options
context:
space:
mode:
authorMarcin Niestroj <m.niestroj@grinn-global.com>2017-06-20 17:16:31 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-06-21 21:44:57 +0200
commita435247b015a794d1c302c7b19ff68a616a1078b (patch)
treebd539ddd4f10329e8bd122fe8b924df99552c164 /package/lua-flu
parent6da373798426e0080e2f910132a8e281b892d435 (diff)
downloadbuildroot-a435247b015a794d1c302c7b19ff68a616a1078b.tar.gz
buildroot-a435247b015a794d1c302c7b19ff68a616a1078b.zip
package/lua-flu: new package
Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com> [Thomas: "depends on" before "select" in Config.in] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lua-flu')
-rw-r--r--package/lua-flu/Config.in18
-rw-r--r--package/lua-flu/lua-flu.hash2
-rw-r--r--package/lua-flu/lua-flu.mk14
3 files changed, 34 insertions, 0 deletions
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))
OpenPOWER on IntegriCloud