Skip to contentSkip to conversation

package/lua-flu: new package

PATCH New Marcin Niestroj 2 participants 2 messages Jun 20, 2017 – Jun 21, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/lua-flu: new package

---
 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
DEVELOPERS +1 -0
index afc45962c..8f5aba432 100644
@@ -1064,6 +1064,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/
package/Config.in +1 -0
index 9df0b4247..56cb0dc2f 100644
@@ -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"
package/lua-flu/Config.in new file +18 -0
new file mode 100644
index 000000000..7bf17cba6
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_LUA_FLU
+	bool "lua-flu"
+	select BR2_PACKAGE_ATTR
+	select BR2_PACKAGE_LIBFUSE
+	depends on !BR2_STATIC_LIBS # libfuse
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
+	depends on BR2_USE_MMU # 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
package/lua-flu/lua-flu.hash new file +2 -0
new file mode 100644
index 000000000..92a0a13ff
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256	1389c22daec77161ec93ff90c39ee70e0f8a656ff92f22f9cf5d7121999d5c53  flu-20150331-1.src.rock
package/lua-flu/lua-flu.mk new file +14 -0
new file mode 100644
index 000000000..7cfea8e6d
@@ -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))
Signature · 1 line
2.13.1
#1 lore raw

PATCH 1/1 package/lua-flu: new package

Hello,

package/lua-flu/Config.in line 7

Quoted 7 lines · Marcin Niestroj
package/lua-flu/Config.in new file +7 -0
+config BR2_PACKAGE_LUA_FLU
+	bool "lua-flu"
+	select BR2_PACKAGE_ATTR
+	select BR2_PACKAGE_LIBFUSE
+	depends on !BR2_STATIC_LIBS # libfuse
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
+	depends on BR2_USE_MMU # libfuse

"depends on" should come before "select", so I've fixed that, and applied your patch. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com