* [ptxdist] [PATCH] jansson: add new package
@ 2014-04-07 8:44 Gieseler, Christian
2014-04-10 7:44 ` Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Gieseler, Christian @ 2014-04-07 8:44 UTC (permalink / raw)
To: ptxdist
Signed-off-by: Christian Gieseler <cg@eks-engel.de>
---
rules/jansson.in | 7 +++++
rules/jansson.make | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+), 0 deletions(-)
create mode 100644 rules/jansson.in
create mode 100644 rules/jansson.make
diff --git a/rules/jansson.in b/rules/jansson.in
new file mode 100644
index 0000000..bf6ae6d
--- /dev/null
+++ b/rules/jansson.in
@@ -0,0 +1,7 @@
+## SECTION=system_libraries
+
+config JANSSON
+ tristate
+ prompt "jansson"
+ help
+ C-Library for encoding, decoding and manipulating JSON data.
diff --git a/rules/jansson.make b/rules/jansson.make
new file mode 100644
index 0000000..b270a6c
--- /dev/null
+++ b/rules/jansson.make
@@ -0,0 +1,63 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by Christian Gieseler <cg@eks-engel.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_JANSSON) += jansson
+
+#
+# Paths and names
+#
+JANSSON_VERSION := 2.6
+JANSSON_MD5 := c70a52488db623a26f7213c7c6b7c878
+JANSSON := jansson-$(JANSSON_VERSION)
+JANSSON_SUFFIX := tar.bz2
+JANSSON_URL := http://www.digip.org/jansson/releases/$(JANSSON).$(JANSSON_SUFFIX)
+JANSSON_SOURCE := $(SRCDIR)/$(JANSSON).$(JANSSON_SUFFIX)
+JANSSON_DIR := $(BUILDDIR)/lib$(JANSSON)
+JANSSON_LICENSE := MIT
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+
+#
+# autoconf
+#
+
+JANSSON_CONF_TOOL := autoconf
+JANSSON_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ --disable-windows-cryptoapi
+
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/jansson.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, jansson)
+ @$(call install_fixup, jansson,PRIORITY,optional)
+ @$(call install_fixup, jansson,SECTION,base)
+ @$(call install_fixup, jansson,AUTHOR,"Christian Gieseler <cg@eks-engel.de>")
+ @$(call install_fixup, jansson,DESCRIPTION,missing)
+
+ @$(call install_lib, jansson, 0, 0, 0644, libjansson)
+
+ @$(call install_finish, jansson)
+
+ @$(call touch)
+
+
+# vim: syntax=make
--
1.7.1
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [PATCH] jansson: add new package
2014-04-07 8:44 [ptxdist] [PATCH] jansson: add new package Gieseler, Christian
@ 2014-04-10 7:44 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2014-04-10 7:44 UTC (permalink / raw)
To: ptxdist
On Mon, Apr 07, 2014 at 08:44:47AM +0000, Gieseler, Christian wrote:
> Signed-off-by: Christian Gieseler <cg@eks-engel.de>
Thanks, applied.
Michael
> ---
> rules/jansson.in | 7 +++++
> rules/jansson.make | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 70 insertions(+), 0 deletions(-)
> create mode 100644 rules/jansson.in
> create mode 100644 rules/jansson.make
>
> diff --git a/rules/jansson.in b/rules/jansson.in
> new file mode 100644
> index 0000000..bf6ae6d
> --- /dev/null
> +++ b/rules/jansson.in
> @@ -0,0 +1,7 @@
> +## SECTION=system_libraries
> +
> +config JANSSON
> + tristate
> + prompt "jansson"
> + help
> + C-Library for encoding, decoding and manipulating JSON data.
> diff --git a/rules/jansson.make b/rules/jansson.make
> new file mode 100644
> index 0000000..b270a6c
> --- /dev/null
> +++ b/rules/jansson.make
> @@ -0,0 +1,63 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2014 by Christian Gieseler <cg@eks-engel.de>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_JANSSON) += jansson
> +
> +#
> +# Paths and names
> +#
> +JANSSON_VERSION := 2.6
> +JANSSON_MD5 := c70a52488db623a26f7213c7c6b7c878
> +JANSSON := jansson-$(JANSSON_VERSION)
> +JANSSON_SUFFIX := tar.bz2
> +JANSSON_URL := http://www.digip.org/jansson/releases/$(JANSSON).$(JANSSON_SUFFIX)
> +JANSSON_SOURCE := $(SRCDIR)/$(JANSSON).$(JANSSON_SUFFIX)
> +JANSSON_DIR := $(BUILDDIR)/lib$(JANSSON)
> +JANSSON_LICENSE := MIT
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +
> +#
> +# autoconf
> +#
> +
> +JANSSON_CONF_TOOL := autoconf
> +JANSSON_CONF_OPT := \
> + $(CROSS_AUTOCONF_USR) \
> + --disable-windows-cryptoapi
> +
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/jansson.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, jansson)
> + @$(call install_fixup, jansson,PRIORITY,optional)
> + @$(call install_fixup, jansson,SECTION,base)
> + @$(call install_fixup, jansson,AUTHOR,"Christian Gieseler <cg@eks-engel.de>")
> + @$(call install_fixup, jansson,DESCRIPTION,missing)
> +
> + @$(call install_lib, jansson, 0, 0, 0644, libjansson)
> +
> + @$(call install_finish, jansson)
> +
> + @$(call touch)
> +
> +
> +# vim: syntax=make
> --
> 1.7.1
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-10 7:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-07 8:44 [ptxdist] [PATCH] jansson: add new package Gieseler, Christian
2014-04-10 7:44 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox