source "package/lua-testmore/Config.in"
source "package/lua-utf8/Config.in"
source "package/lua-valua/Config.in"
+ source "package/lua-zlib/Config.in"
source "package/luabitop/Config.in"
source "package/luadbi/Config.in"
source "package/luadbi-sqlite3/Config.in"
--- /dev/null
+config BR2_PACKAGE_LUA_ZLIB
+ bool "lua-zlib"
+ select BR2_PACKAGE_ZLIB
+ help
+ Simple streaming interface to zlib for Lua.
+ Consists of two functions: inflate and deflate.
+ Both functions return "stream functions" (takes a buffer
+ of input and returns a buffer of output).
+
+ https://github.com/brimworks/lua-zlib
--- /dev/null
+# computed by luarocks/buildroot
+sha256 42436ba2b78c9a2d515d6da59ceb12cdea7f84c9ce3c859d91addb42badd4061 lua-zlib-1.2-0.src.rock
--- /dev/null
+################################################################################
+#
+# lua-zlib
+#
+################################################################################
+
+LUA_ZLIB_VERSION = 1.2-0
+LUA_ZLIB_SUBDIR = lua-zlib
+LUA_ZLIB_LICENSE = MIT
+LUA_ZLIB_DEPENDENCIES = zlib
+
+$(eval $(luarocks-package))
--- /dev/null
+from tests.package.test_lua import TestLuaBase
+
+
+class TestLuaLuazlib(TestLuaBase):
+ config = TestLuaBase.config + \
+ """
+ BR2_PACKAGE_LUA=y
+ BR2_PACKAGE_LUA_ZLIB=y
+ """
+
+ def test_run(self):
+ self.login()
+ self.module_test("zlib")
+
+
+class TestLuajitLuazlib(TestLuaBase):
+ config = TestLuaBase.config + \
+ """
+ BR2_PACKAGE_LUAJIT=y
+ BR2_PACKAGE_LUA_ZLIB=y
+ """
+
+ def test_run(self):
+ self.login()
+ self.module_test("zlib")