From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx-relay22-dus.antispameurope.com ([94.100.134.222]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WX5Bu-00073a-8D for ptxdist@pengutronix.de; Mon, 07 Apr 2014 10:46:07 +0200 From: "Gieseler, Christian" Date: Mon, 7 Apr 2014 08:44:47 +0000 Message-ID: Content-Language: de-DE MIME-Version: 1.0 Subject: [ptxdist] [PATCH] jansson: add new package Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" Signed-off-by: Christian Gieseler --- 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 +# +# 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 ") + @$(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