summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/Config.in3
-rw-r--r--package/yajl/Config.in8
-rw-r--r--package/yajl/yajl.mk11
3 files changed, 21 insertions, 1 deletions
diff --git a/package/Config.in b/package/Config.in
index 10d435c17..85d50ec83 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 000000000..be2c133f4
--- /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 000000000..e67a7dadf
--- /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))