From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Xoxip-0000hN-Jz for ptxdist@pengutronix.de; Thu, 13 Nov 2014 17:58:15 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1Xoxip-0000UE-IZ for ptxdist@pengutronix.de; Thu, 13 Nov 2014 17:58:15 +0100 Date: Thu, 13 Nov 2014 17:58:15 +0100 From: Michael Olbrich Message-ID: <20141113165815.GA30196@pengutronix.de> References: <1415282438-2565-1-git-send-email-bernhard@bwalle.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1415282438-2565-1-git-send-email-bernhard@bwalle.de> Subject: Re: [ptxdist] [PATCH] libconfig: 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 On Thu, Nov 06, 2014 at 03:00:38PM +0100, Bernhard Walle wrote: > Signed-off-by: Bernhard Walle Thanks, applied. Michael > --- > rules/libconfig.in | 14 ++++++++++++ > rules/libconfig.make | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 76 insertions(+) > create mode 100644 rules/libconfig.in > create mode 100644 rules/libconfig.make > > diff --git a/rules/libconfig.in b/rules/libconfig.in > new file mode 100644 > index 0000000..5a6ec7e > --- /dev/null > +++ b/rules/libconfig.in > @@ -0,0 +1,14 @@ > +## SECTION=system_libraries > + > +menuconfig LIBCONFIG > + tristate > + prompt "libconfig " > + help > + C/C++ Configuration File Library > + > +if LIBCONFIG > + > +config LIBCONFIG_CXX > + bool "build and install install libconfig++" > + > +endif > diff --git a/rules/libconfig.make b/rules/libconfig.make > new file mode 100644 > index 0000000..6eeb4e9 > --- /dev/null > +++ b/rules/libconfig.make > @@ -0,0 +1,62 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2014 by Bernhard Walle > +# > +# 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_LIBCONFIG) += libconfig > + > +# > +# Paths and names > +# > +LIBCONFIG_VERSION := 1.4.9 > +LIBCONFIG_MD5 := b6ee0ce2b3ef844bad7cac2803a90634 > +LIBCONFIG := libconfig-$(LIBCONFIG_VERSION) > +LIBCONFIG_SUFFIX := tar.gz > +LIBCONFIG_URL := http://www.hyperrealm.com/libconfig/$(LIBCONFIG).$(LIBCONFIG_SUFFIX) > +LIBCONFIG_SOURCE := $(SRCDIR)/$(LIBCONFIG).$(LIBCONFIG_SUFFIX) > +LIBCONFIG_DIR := $(BUILDDIR)/$(LIBCONFIG) > +LIBCONFIG_LICENSE := LGPLv2.1 > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +# > +# autoconf > +# > +LIBCONFIG_CONF_TOOL := autoconf > +LIBCONFIG_CONF_OPT := $(CROSS_AUTOCONF_USR) \ > + --disable-examples \ > + --$(call ptx/endis, PTXCONF_LIBCONFIG_CXX)-cxx > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/libconfig.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, libconfig) > + @$(call install_fixup, libconfig,PRIORITY,optional) > + @$(call install_fixup, libconfig,SECTION,base) > + @$(call install_fixup, libconfig,AUTHOR,"Bernhard Walle ") > + @$(call install_fixup, libconfig,DESCRIPTION,missing) > + > + @$(call install_lib, libconfig, 0, 0, 0644, libconfig) > +ifdef PTXCONF_LIBCONFIG_CXX > + @$(call install_lib, libconfig, 0, 0, 0644, libconfig++) > +endif > + > + @$(call install_finish, libconfig) > + > + @$(call touch) > + > +# vim: syntax=make > -- > 2.1.3 > > > -- > 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