package/lua-stdlib: new package
authorMarcin Niestroj <m.niestroj@grinn-global.com>
Mon, 26 Jun 2017 15:19:41 +0000 (17:19 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 3 Jul 2017 22:47:05 +0000 (00:47 +0200)
Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
DEVELOPERS
package/Config.in
package/lua-stdlib/Config.in [new file with mode: 0644]
package/lua-stdlib/lua-stdlib.hash [new file with mode: 0644]
package/lua-stdlib/lua-stdlib.mk [new file with mode: 0644]

index 22016a50dc5d52f4c16cc35e03d4d7466e398ffe..b8757fe14cfa963142ac94bda453b2ee391cebfe 100644 (file)
@@ -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/
index 4c7852d1138ecf5c3ea9add2c4434d5bd9d263e7..bc5ad0e6f7dd3f2a8b9ce09f2b08f206486d34d2 100644 (file)
@@ -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 (file)
index 0000000..1843826
--- /dev/null
@@ -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 (file)
index 0000000..56f585d
--- /dev/null
@@ -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 (file)
index 0000000..f7fb0ff
--- /dev/null
@@ -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))