package/lua-lgdbm: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> [yann.morin.1998@free.fr: propagate gdbm deps, fix check-package] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
338acb27ff
commit
b31443e09c
package
support/testing/tests/package
@ -747,6 +747,7 @@ menu "Lua libraries/modules"
|
||||
source "package/lua-http/Config.in"
|
||||
source "package/lua-iconv/Config.in"
|
||||
source "package/lua-inotify/Config.in"
|
||||
source "package/lua-lgdbm/Config.in"
|
||||
source "package/lua-livr/Config.in"
|
||||
source "package/lua-livr-extra/Config.in"
|
||||
source "package/lua-lpeg-patterns/Config.in"
|
||||
|
15
package/lua-lgdbm/Config.in
Normal file
15
package/lua-lgdbm/Config.in
Normal file
@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_LUA_LGDBM
|
||||
bool "lua-lgdbm"
|
||||
depends on BR2_USE_MMU # gdbm
|
||||
depends on BR2_USE_WCHAR #gdbm
|
||||
depends on BR2_PACKAGE_LUA_5_3 || BR2_PACKAGE_LUA_5_4
|
||||
select BR2_PACKAGE_GDBM
|
||||
help
|
||||
A database library for Lua using GDBM.
|
||||
|
||||
http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lgdbm
|
||||
|
||||
comment "lua-lgdbm needs needs a toolchain with wchar, Lua >= 5.3"
|
||||
depends on !BR2_USE_MMU
|
||||
depends on !(BR2_PACKAGE_LUA_5_3 || BR2_PACKAGE_LUA_5_4) \
|
||||
|| !BR2_USE_WCHAR
|
2
package/lua-lgdbm/lua-lgdbm.hash
Normal file
2
package/lua-lgdbm/lua-lgdbm.hash
Normal file
@ -0,0 +1,2 @@
|
||||
# computed by luarocks/buildroot
|
||||
sha256 8cb7e25254b1c9889894654f6cf26d09f2c2ee10fe966f45152eb5deb0a24f9b lgdbm-20211118.52-0.src.rock
|
13
package/lua-lgdbm/lua-lgdbm.mk
Normal file
13
package/lua-lgdbm/lua-lgdbm.mk
Normal file
@ -0,0 +1,13 @@
|
||||
################################################################################
|
||||
#
|
||||
# lua-lgdbm
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LUA_LGDBM_VERSION = 20211118.52-0
|
||||
LUA_LGDBM_NAME_UPSTREAM = lgdbm
|
||||
LUA_LGDBM_SUBDIR = gdbm
|
||||
LUA_LGDBM_LICENSE = Public Domain
|
||||
LUA_LGDBM_DEPENDENCIES = gdbm
|
||||
|
||||
$(eval $(luarocks-package))
|
13
support/testing/tests/package/test_lua_lgdbm.py
Normal file
13
support/testing/tests/package/test_lua_lgdbm.py
Normal file
@ -0,0 +1,13 @@
|
||||
from tests.package.test_lua import TestLuaBase
|
||||
|
||||
|
||||
class TestLuaLgdbm(TestLuaBase):
|
||||
config = TestLuaBase.config + \
|
||||
"""
|
||||
BR2_PACKAGE_LUA=y
|
||||
BR2_PACKAGE_LUA_LGDBM=y
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
self.login()
|
||||
self.module_test("gdbm")
|
Loading…
Reference in New Issue
Block a user