From: Marcin Niestroj Date: Mon, 26 Jun 2017 15:19:41 +0000 (+0200) Subject: package/lua-stdlib: new package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0111ced7705f4038eb91a66e7f055a4994246751;p=buildroot.git package/lua-stdlib: new package Signed-off-by: Marcin Niestroj Reviewed-by: Romain Naour Signed-off-by: Thomas Petazzoni --- diff --git a/DEVELOPERS b/DEVELOPERS index 22016a50dc..b8757fe14c 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1085,6 +1085,7 @@ F: package/argparse/ F: package/dt-utils/ F: package/easydbus/ F: package/lua-flu/ +F: package/lua-stdlib/ F: package/luaossl/ F: package/rs485conf/ F: package/turbolua/ diff --git a/package/Config.in b/package/Config.in index 4c7852d113..bc5ad0e6f7 100644 --- a/package/Config.in +++ b/package/Config.in @@ -574,6 +574,7 @@ menu "Lua libraries/modules" source "package/lua-msgpack-native/Config.in" source "package/lua-periphery/Config.in" source "package/lua-sdl2/Config.in" + source "package/lua-stdlib/Config.in" source "package/lua-testmore/Config.in" source "package/luabitop/Config.in" source "package/luacrypto/Config.in" diff --git a/package/lua-stdlib/Config.in b/package/lua-stdlib/Config.in new file mode 100644 index 0000000000..1843826c24 --- /dev/null +++ b/package/lua-stdlib/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_LUA_STDLIB + bool "lua-stdlib" + help + lua-stdlib is a library of modules for common programming + tasks, including list, table and functional operations, + objects, pickling, pretty-printing and command-line option + parsing. + + https://github.com/lua-stdlib/lua-stdlib/ diff --git a/package/lua-stdlib/lua-stdlib.hash b/package/lua-stdlib/lua-stdlib.hash new file mode 100644 index 0000000000..56f585db72 --- /dev/null +++ b/package/lua-stdlib/lua-stdlib.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 5eff1af3a16470297fa5a92c9525ae593644ae9dc0e6215158298711f5d829ee stdlib-41.2.0-1.src.rock diff --git a/package/lua-stdlib/lua-stdlib.mk b/package/lua-stdlib/lua-stdlib.mk new file mode 100644 index 0000000000..f7fb0ff9c5 --- /dev/null +++ b/package/lua-stdlib/lua-stdlib.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# lua-stdlib +# +################################################################################ + +LUA_STDLIB_VERSION_UPSTREAM = 41.2.0 +LUA_STDLIB_VERSION = $(LUA_STDLIB_VERSION_UPSTREAM)-1 +LUA_STDLIB_NAME_UPSTREAM = stdlib +LUA_STDLIB_SUBDIR = lua-stdlib-release-v$(LUA_STDLIB_VERSION_UPSTREAM) +LUA_STDLIB_LICENSE = MIT +LUA_STDLIB_LICENSE_FILES = $(LUA_STDLIB_SUBDIR)/COPYING + +$(eval $(luarocks-package))