summaryrefslogtreecommitdiff
path: root/package/yajl
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/yajl
parent353ebfd0b10caf48a9e7d446860f98507936a426 (diff)
package: add yajl
yajl is Yet Another JSON Library. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/yajl')
-rw-r--r--package/yajl/Config.in8
-rw-r--r--package/yajl/yajl.mk11
2 files changed, 19 insertions, 0 deletions
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))