jansson: new package
authorSimon Dawson <spdawson@gmail.com>
Wed, 27 Mar 2013 00:33:57 +0000 (00:33 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 26 Apr 2013 20:12:13 +0000 (22:12 +0200)
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/jansson/Config.in [new file with mode: 0644]
package/jansson/jansson.mk [new file with mode: 0644]

index ede0ba0e5ab4ad5fd7a4b6d62472bc805a3d1420..0b095d4bfbf70c381483af1a9167d015dd64f06f 100644 (file)
@@ -618,6 +618,7 @@ menu "JSON/XML"
 source "package/cjson/Config.in"
 source "package/expat/Config.in"
 source "package/ezxml/Config.in"
+source "package/jansson/Config.in"
 source "package/json-c/Config.in"
 source "package/json-glib/Config.in"
 source "package/libroxml/Config.in"
diff --git a/package/jansson/Config.in b/package/jansson/Config.in
new file mode 100644 (file)
index 0000000..960a7c4
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_JANSSON
+       bool "jansson"
+       help
+         Jansson is a C library for encoding, decoding and manipulating JSON
+         data.
+
+         http://www.digip.org/jansson/
diff --git a/package/jansson/jansson.mk b/package/jansson/jansson.mk
new file mode 100644 (file)
index 0000000..c7183df
--- /dev/null
@@ -0,0 +1,12 @@
+#############################################################
+#
+# jansson
+#
+#############################################################
+JANSSON_VERSION = 2.4
+JANSSON_SITE = http://www.digip.org/jansson/releases
+JANSSON_LICENSE = MIT
+JANSSON_LICENSE_FILES = LICENSE
+JANSSON_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))