From a9f637383d1c4fc5161494460a0ce2d04f9066a9 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 21 Jun 2011 17:12:45 +0200 Subject: [PATCH] package: add yajl yajl is Yet Another JSON Library. Signed-off-by: Peter Korsgaard --- package/Config.in | 3 ++- package/yajl/Config.in | 8 ++++++++ package/yajl/yajl.mk | 11 +++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 package/yajl/Config.in create mode 100644 package/yajl/yajl.mk diff --git a/package/Config.in b/package/Config.in index 10d435c178..85d50ec83f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -354,13 +354,14 @@ source "package/readline/Config.in" source "package/slang/Config.in" endmenu -menu "XML" +menu "JSON/XML" source "package/expat/Config.in" source "package/ezxml/Config.in" source "package/libxml-parser-perl/Config.in" source "package/libxml2/Config.in" source "package/libxslt/Config.in" source "package/xerces/Config.in" +source "package/yajl/Config.in" endmenu endmenu diff --git a/package/yajl/Config.in b/package/yajl/Config.in new file mode 100644 index 0000000000..be2c133f43 --- /dev/null +++ b/package/yajl/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_YAJL + bool "yajl" + help + Yet Another JSON Library. YAJL is a small event-driven + (SAX-style) JSON parser written in ANSI C, and a small + validating JSON generator. + + http://lloyd.github.com/yajl/ diff --git a/package/yajl/yajl.mk b/package/yajl/yajl.mk new file mode 100644 index 0000000000..e67a7dadfe --- /dev/null +++ b/package/yajl/yajl.mk @@ -0,0 +1,11 @@ +################################################################################ +# +# yajl +# +################################################################################ + +YAJL_VERSION = 2.0.2 +YAJL_SITE = git://github.com/lloyd/yajl.git +YAJL_INSTALL_STAGING = YES + +$(eval $(call CMAKETARGETS,package,yajl)) -- 2.30.2