Patchwork jansson: new package

login
register
mail settings
Submitter Simon Dawson
Date March 27, 2013, 10:33 a.m.
Message ID <1364380437-28214-1-git-send-email-spdawson@gmail.com>
Download mbox | patch
Permalink /patch/231650/
State Accepted
Commit 5cae3e8af0fe62e51e4fc675c566501f2bfd1cc2
Headers show

Comments

Simon Dawson - March 27, 2013, 10:33 a.m.
From: Simon Dawson <spdawson@gmail.com>

Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
 package/Config.in          |    1 +
 package/jansson/Config.in  |    7 +++++++
 package/jansson/jansson.mk |   12 ++++++++++++
 3 files changed, 20 insertions(+)
 create mode 100644 package/jansson/Config.in
 create mode 100644 package/jansson/jansson.mk
Peter Korsgaard - April 26, 2013, 8:17 p.m.
>>>>> "spdawson" == spdawson  <spdawson@gmail.com> writes:

 spdawson> From: Simon Dawson <spdawson@gmail.com>
 spdawson> Signed-off-by: Simon Dawson <spdawson@gmail.com>
 spdawson> ---
 spdawson>  package/Config.in          |    1 +
 spdawson>  package/jansson/Config.in  |    7 +++++++
 spdawson>  package/jansson/jansson.mk |   12 ++++++++++++
 spdawson>  3 files changed, 20 insertions(+)
 spdawson>  create mode 100644 package/jansson/Config.in
 spdawson>  create mode 100644 package/jansson/jansson.mk

 spdawson> diff --git a/package/Config.in b/package/Config.in
 spdawson> index 5d8f4f6..35a6c5a 100644
 spdawson> --- a/package/Config.in
 spdawson> +++ b/package/Config.in
 spdawson> @@ -602,6 +602,7 @@ menu "JSON/XML"
 spdawson>  source "package/cjson/Config.in"
 spdawson>  source "package/expat/Config.in"
 spdawson>  source "package/ezxml/Config.in"
 spdawson> +source "package/jansson/Config.in"
 spdawson>  source "package/json-c/Config.in"
 spdawson>  source "package/json-glib/Config.in"
 spdawson>  source "package/libroxml/Config.in"
 spdawson> diff --git a/package/jansson/Config.in b/package/jansson/Config.in
 spdawson> new file mode 100644
 spdawson> index 0000000..960a7c4
 spdawson> --- /dev/null
 spdawson> +++ b/package/jansson/Config.in
 spdawson> @@ -0,0 +1,7 @@
 spdawson> +config BR2_PACKAGE_JANSSON
 spdawson> +	bool "jansson"
 spdawson> +	help
 spdawson> +	  Jansson is a C library for encoding, decoding and manipulating JSON
 spdawson> +	  data.
 spdawson> +
 spdawson> +	  http://www.digip.org/jansson/
 spdawson> diff --git a/package/jansson/jansson.mk b/package/jansson/jansson.mk
 spdawson> new file mode 100644
 spdawson> index 0000000..c7183df
 spdawson> --- /dev/null
 spdawson> +++ b/package/jansson/jansson.mk
 spdawson> @@ -0,0 +1,12 @@
 spdawson> +#############################################################
 spdawson> +#
 spdawson> +# jansson
 spdawson> +#
 spdawson> +#############################################################
 spdawson> +JANSSON_VERSION = 2.4

We normally have an empty line between the header and the JANSSON_*
variables. Committed with that fixed, thanks.

Patch

diff --git a/package/Config.in b/package/Config.in
index 5d8f4f6..35a6c5a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -602,6 +602,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
index 0000000..960a7c4
--- /dev/null
+++ b/package/jansson/Config.in
@@ -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
index 0000000..c7183df
--- /dev/null
+++ b/package/jansson/jansson.mk
@@ -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))