From: Francois Perrad Date: Sun, 24 Sep 2017 07:59:26 +0000 (+0200) Subject: lua-datafile: new package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8e41394d36178f27ba1b9dba9f1d67b77f6db6e;p=buildroot.git lua-datafile: new package Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/package/Config.in b/package/Config.in index 8a757809b0..f7b3ad5453 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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 index 0000000000..e65406ed84 --- /dev/null +++ b/package/lua-datafile/Config.in @@ -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 index 0000000000..83c346eae1 --- /dev/null +++ b/package/lua-datafile/lua-datafile.hash @@ -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 index 0000000000..75aef5290d --- /dev/null +++ b/package/lua-datafile/lua-datafile.mk @@ -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))