]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/lua-flu: new package
authorMarcin Niestroj <m.niestroj@grinn-global.com>
Tue, 20 Jun 2017 15:16:31 +0000 (17:16 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 21 Jun 2017 19:44:57 +0000 (21:44 +0200)
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>
DEVELOPERS
package/Config.in
package/lua-flu/Config.in [new file with mode: 0644]
package/lua-flu/lua-flu.hash [new file with mode: 0644]
package/lua-flu/lua-flu.mk [new file with mode: 0644]

index 9d336d1b25db50cca2f3239dd5278ab9005fe25f..57293512313077a8e61c5af874ff55b513422524 100644 (file)
@@ -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/
index e640ae62cc9b287a8571bace7ecba442b8b9aae0..d2b311986f82fd26c420bf1a545f6f4ce351b0ee 100644 (file)
@@ -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 (file)
index 0000000..526dc90
--- /dev/null
@@ -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 (file)
index 0000000..92a0a13
--- /dev/null
@@ -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 (file)
index 0000000..7cfea8e
--- /dev/null
@@ -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))