summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-06-21 17:12:45 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-06-21 17:13:20 +0200
commita9f637383d1c4fc5161494460a0ce2d04f9066a9 (patch)
tree13d7780acf804eb357965386b6efda242e9593dc /package
parent353ebfd0b10caf48a9e7d446860f98507936a426 (diff)
package: add yajl
yajl is Yet Another JSON Library. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-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))