mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Gieseler, Christian" <CG@eks-engel.de>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: [ptxdist] [PATCH] jansson: add new package
Date: Mon, 7 Apr 2014 08:44:47 +0000	[thread overview]
Message-ID: <C9183576C7342045BFDCAE863EB3C37A14AF49@EKS-Exchange.eks-engel.local> (raw)

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

             reply	other threads:[~2014-04-07  8:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-07  8:44 Gieseler, Christian [this message]
2014-04-10  7:44 ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C9183576C7342045BFDCAE863EB3C37A14AF49@EKS-Exchange.eks-engel.local \
    --to=cg@eks-engel.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox