[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>
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"
--- /dev/null
+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
--- /dev/null
+################################################################################
+#
+# luajson
+#
+################################################################################
+
+LUAJSON_VERSION = 1.3.2-1
+LUAJSON_SUBDIR = luajson
+LUAJSON_LICENSE = MIT
+LUAJSON_LICENSE_FILES = $(LUAJSON_SUBDIR)/LICENSE
+
+$(eval $(luarocks-package))