luajson: new package
[Thomas: explicitly mention that lpeg is a run-time dependency, and simplify the version specification. Both comments were made by Arnout.] Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
08f2dd2bf6
commit
d8ac059cb3
@ -384,6 +384,7 @@ source "package/luacrypto/Config.in"
|
||||
source "package/luaexpat/Config.in"
|
||||
source "package/luaexpatutils/Config.in"
|
||||
source "package/luafilesystem/Config.in"
|
||||
source "package/luajson/Config.in"
|
||||
source "package/luaposix/Config.in"
|
||||
source "package/luasec/Config.in"
|
||||
source "package/luasocket/Config.in"
|
||||
|
9
package/luajson/Config.in
Normal file
9
package/luajson/Config.in
Normal file
@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_LUAJSON
|
||||
bool "luajson"
|
||||
# run-time dependency
|
||||
select BR2_PACKAGE_LPEG
|
||||
help
|
||||
LuaJSON is a customizable JSON decoder/encoder
|
||||
using LPEG for parsing.
|
||||
|
||||
http://github.com/harningt/luajson
|
12
package/luajson/luajson.mk
Normal file
12
package/luajson/luajson.mk
Normal file
@ -0,0 +1,12 @@
|
||||
################################################################################
|
||||
#
|
||||
# luajson
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LUAJSON_VERSION = 1.3.2-1
|
||||
LUAJSON_SUBDIR = luajson
|
||||
LUAJSON_LICENSE = MIT
|
||||
LUAJSON_LICENSE_FILES = $(LUAJSON_SUBDIR)/LICENSE
|
||||
|
||||
$(eval $(luarocks-package))
|
Loading…
Reference in New Issue
Block a user