mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 13:33:28 +08:00
package/lua-lightningmdb: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
eb60c4054c
commit
9f84196986
@ -747,6 +747,7 @@ menu "Lua libraries/modules"
|
||||
source "package/lua-iconv/Config.in"
|
||||
source "package/lua-inotify/Config.in"
|
||||
source "package/lua-lgdbm/Config.in"
|
||||
source "package/lua-lightningmdb/Config.in"
|
||||
source "package/lua-livr/Config.in"
|
||||
source "package/lua-livr-extra/Config.in"
|
||||
source "package/lua-lpeg-patterns/Config.in"
|
||||
|
13
package/lua-lightningmdb/Config.in
Normal file
13
package/lua-lightningmdb/Config.in
Normal file
@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_LUA_LIGHTNINGMDB
|
||||
bool "lua-lightningmdb"
|
||||
depends on !BR2_PACKAGE_LUAJIT
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # lmdb
|
||||
select BR2_PACKAGE_LMDB
|
||||
help
|
||||
A thin wrapper around OpenLDAP Lightning Memory-Mapped
|
||||
Database (LMDB).
|
||||
|
||||
https://github.com/shmul/lightningmdb
|
||||
|
||||
comment "lua-lightningmdb needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
3
package/lua-lightningmdb/lua-lightningmdb.hash
Normal file
3
package/lua-lightningmdb/lua-lightningmdb.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# computed by luarocks/buildroot
|
||||
sha256 d836709e8a1374eb8913f0e9787bb3f0fc4d49b29e01112691b619f7d1355f8c lightningmdb-0.9.22.1-1.src.rock
|
||||
sha256 3d0562e11bc52bf45a735e1d60c6f8522886927a8bcfbe7dee219a61ec30b07a lightningmdb-0.9.22.1-1/LICENSE
|
14
package/lua-lightningmdb/lua-lightningmdb.mk
Normal file
14
package/lua-lightningmdb/lua-lightningmdb.mk
Normal file
@ -0,0 +1,14 @@
|
||||
################################################################################
|
||||
#
|
||||
# lua-lightningmdb
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LUA_LIGHTNINGMDB_VERSION = 0.9.22.1-1
|
||||
LUA_LIGHTNINGMDB_NAME_UPSTREAM = Lightningmdb
|
||||
LUA_LIGHTNINGMDB_SUBDIR = lightningmdb-$(LUA_LIGHTNINGMDB_VERSION)
|
||||
LUA_LIGHTNINGMDB_LICENSE = MIT
|
||||
LUA_LIGHTNINGMDB_LICENSE_FILES = $(LUA_LIGHTNINGMDB_SUBDIR)/LICENSE
|
||||
LUA_LIGHTNINGMDB_DEPENDENCIES = lmdb
|
||||
|
||||
$(eval $(luarocks-package))
|
13
support/testing/tests/package/test_lua_lightningmdb.py
Normal file
13
support/testing/tests/package/test_lua_lightningmdb.py
Normal file
@ -0,0 +1,13 @@
|
||||
from tests.package.test_lua import TestLuaBase
|
||||
|
||||
|
||||
class TestLuaLightningmdb(TestLuaBase):
|
||||
config = TestLuaBase.config + \
|
||||
"""
|
||||
BR2_PACKAGE_LUA=y
|
||||
BR2_PACKAGE_LUA_LIGHTNINGMDB=y
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
self.login()
|
||||
self.module_test("lightningmdb")
|
Loading…
Reference in New Issue
Block a user