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:
Francois Perrad 2014-02-24 08:34:48 +01:00 committed by Thomas Petazzoni
parent 08f2dd2bf6
commit d8ac059cb3
3 changed files with 22 additions and 0 deletions

View File

@ -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"

View 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

View 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))