lua-datafile: new package
authorFrancois Perrad <fperrad@gmail.com>
Sun, 24 Sep 2017 07:59:26 +0000 (09:59 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 24 Sep 2017 15:20:37 +0000 (17:20 +0200)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/Config.in
package/lua-datafile/Config.in [new file with mode: 0644]
package/lua-datafile/lua-datafile.hash [new file with mode: 0644]
package/lua-datafile/lua-datafile.mk [new file with mode: 0644]

index 8a757809b09d667d6eb1225f7a619936964f4ab6..f7b3ad5453d2f52e779e93bfe69fb342b0cbeea6 100644 (file)
@@ -579,6 +579,7 @@ menu "Lua libraries/modules"
        source "package/lua-coatpersistent/Config.in"
        source "package/lua-csnappy/Config.in"
        source "package/lua-curl/Config.in"
+       source "package/lua-datafile/Config.in"
        source "package/lua-ev/Config.in"
        source "package/lua-flu/Config.in"
        source "package/lua-iconv/Config.in"
diff --git a/package/lua-datafile/Config.in b/package/lua-datafile/Config.in
new file mode 100644 (file)
index 0000000..e65406e
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LUA_DATAFILE
+       bool "lua-datafile"
+       help
+         datafile is a library for avoiding hardcoded paths
+         when loading resource files in Lua modules.
+
+         https://github.com/hishamhm/datafile
diff --git a/package/lua-datafile/lua-datafile.hash b/package/lua-datafile/lua-datafile.hash
new file mode 100644 (file)
index 0000000..83c346e
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 37a33079c3476477f19de14bebd664635a39a57dd05a2709c3a402cbc1e79a6b  datafile-0.4-1.src.rock
diff --git a/package/lua-datafile/lua-datafile.mk b/package/lua-datafile/lua-datafile.mk
new file mode 100644 (file)
index 0000000..75aef52
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# lua-datafile
+#
+################################################################################
+
+LUA_DATAFILE_VERSION = 0.4-1
+LUA_DATAFILE_NAME_UPSTREAM = datafile
+LUA_DATAFILE_SUBDIR = datafile
+LUA_DATAFILE_LICENSE = MIT
+LUA_DATAFILE_LICENSE_FILES = $(LUA_DATAFILE_SUBDIR)/LICENSE
+
+$(eval $(luarocks-package))