diff options
author | Gieseler, Christian <CG@eks-engel.de> | 2014-04-07 08:44:47 +0000 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-04-09 16:59:22 +0200 |
commit | f730c7dfda6f318fb6d2e8bb208e86da625721c8 (patch) | |
tree | 1c3ecd05d1d0558d6d9aeebdbb40699ac1975f6f /rules/jansson.make | |
parent | 04f24a45f190b665f723e7cf4e8c6cfb7ef97c08 (diff) | |
download | ptxdist-f730c7dfda6f318fb6d2e8bb208e86da625721c8.tar.gz ptxdist-f730c7dfda6f318fb6d2e8bb208e86da625721c8.tar.xz |
jansson: add new package
Signed-off-by: Christian Gieseler <cg@eks-engel.de>
[mol: whitespace cleanup]
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/jansson.make')
-rw-r--r-- | rules/jansson.make | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/rules/jansson.make b/rules/jansson.make new file mode 100644 index 000000000..23117633a --- /dev/null +++ b/rules/jansson.make @@ -0,0 +1,60 @@ +# -*-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 |