From: Francois Perrad Date: Mon, 24 Feb 2014 07:34:48 +0000 (+0100) Subject: luajson: new package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8ac059cb32d30f75ae3ad631b9d66303d7ec031;p=buildroot.git 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 Signed-off-by: Thomas Petazzoni --- diff --git a/package/Config.in b/package/Config.in index eb39b941aa..cc44228208 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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" diff --git a/package/luajson/Config.in b/package/luajson/Config.in new file mode 100644 index 0000000000..c04aa7f008 --- /dev/null +++ b/package/luajson/Config.in @@ -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 diff --git a/package/luajson/luajson.mk b/package/luajson/luajson.mk new file mode 100644 index 0000000000..3a4f81d12b --- /dev/null +++ b/package/luajson/luajson.mk @@ -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))