summaryrefslogtreecommitdiffstats
path: root/package/lua-stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'package/lua-stdlib')
-rw-r--r--package/lua-stdlib/Config.in9
-rw-r--r--package/lua-stdlib/lua-stdlib.hash2
-rw-r--r--package/lua-stdlib/lua-stdlib.mk14
3 files changed, 25 insertions, 0 deletions
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))
OpenPOWER on IntegriCloud