package/lua-dkjson: 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:
Francois Perrad 2023-03-15 10:07:55 +01:00 committed by Thomas Petazzoni
parent baff13d079
commit 9163dd1321
4 changed files with 27 additions and 0 deletions

View File

@ -718,6 +718,7 @@ menu "Lua libraries/modules"
source "package/lua-csnappy/Config.in"
source "package/lua-curl/Config.in"
source "package/lua-datafile/Config.in"
source "package/lua-dkjson/Config.in"
source "package/lua-ev/Config.in"
source "package/lua-fifo/Config.in"
source "package/lua-flu/Config.in"

View File

@ -0,0 +1,9 @@
config BR2_PACKAGE_LUA_DKJSON
bool "lua-dkjson"
help
David Kolf's JSON module for Lua.
dkjson is written in Lua without any dependencies, but
when LPeg is available dkjson can use it to speed up decoding.
http://dkolf.de/src/dkjson-lua.fsl/

View File

@ -0,0 +1,5 @@
# computed by luarocks/buildroot
sha256 e4ba15f2a85f84ffc7f628157a4ad16b2b04ba05eb44a2e5956fa46bd104125e dkjson-2.6-1.src.rock
# locally computed
sha256 7fd6585e9776c1cf2930e8ce660b3116c8a9b4b676929d45078870a42f16aa65 dkjson-2.6/readme.txt

View File

@ -0,0 +1,12 @@
################################################################################
#
# lua-dkjson
#
################################################################################
LUA_DKJSON_VERSION = 2.6-1
LUA_DKJSON_NAME_UPSTREAM = dkjson
LUA_DKJSON_LICENSE = MIT
LUA_DKJSON_LICENSE_FILES = $(LUA_DKJSON_SUBDIR)/readme.txt
$(eval $(luarocks-package))