Commit d8ac059c authored by Francois Perrad's avatar Francois Perrad Committed by Thomas Petazzoni
Browse files

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: default avatarFrancois Perrad <francois.perrad@gadz.org>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 08f2dd2b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
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 −0
Original line number Diff line number Diff line
################################################################################
#
# luajson
#
################################################################################

LUAJSON_VERSION = 1.3.2-1
LUAJSON_SUBDIR  = luajson
LUAJSON_LICENSE = MIT
LUAJSON_LICENSE_FILES = $(LUAJSON_SUBDIR)/LICENSE

$(eval $(luarocks-package))