From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1W8nTb-0006xV-I9 for ptxdist@pengutronix.de; Thu, 30 Jan 2014 09:59:59 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1W8nTb-0006nq-Gh for ptxdist@pengutronix.de; Thu, 30 Jan 2014 09:59:59 +0100 Date: Thu, 30 Jan 2014 09:59:59 +0100 From: Michael Olbrich Message-ID: <20140130085959.GG9989@pengutronix.de> References: <1390761636-23113-1-git-send-email-alex.aring@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1390761636-23113-1-git-send-email-alex.aring@gmail.com> Subject: Re: [ptxdist] [PATCH 1/2] libbsd: 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 On Sun, Jan 26, 2014 at 07:40:35PM +0100, Alexander Aring wrote: > Signed-off-by: Alexander Aring I've applied this one. Thanks, Michael > --- > rules/libbsd.in | 11 ++++++++++ > rules/libbsd.make | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 74 insertions(+) > create mode 100644 rules/libbsd.in > create mode 100644 rules/libbsd.make > > diff --git a/rules/libbsd.in b/rules/libbsd.in > new file mode 100644 > index 0000000..6563753 > --- /dev/null > +++ b/rules/libbsd.in > @@ -0,0 +1,11 @@ > +## SECTION=system_libraries > + > +config LIBBSD > + tristate > + prompt "libbsd" > + help > + This library provides useful functions commonly found on > + BSD systems, and lacking on others like GNU systems, thus > + making it easier to port projects with strong BSD origins, > + without needing to embed the same code over and over again > + on each project. > diff --git a/rules/libbsd.make b/rules/libbsd.make > new file mode 100644 > index 0000000..01b647e > --- /dev/null > +++ b/rules/libbsd.make > @@ -0,0 +1,63 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2014 by Alexander Aring > +# > +# 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_LIBBSD) += libbsd > + > +# > +# Paths and names > +# > +LIBBSD_VERSION := 0.6.0 > +LIBBSD_MD5 := f6c75f0a9818e323a589bcbd560a0eb4 > +LIBBSD := libbsd-$(LIBBSD_VERSION) > +LIBBSD_SUFFIX := tar.xz > +LIBBSD_URL := http://libbsd.freedesktop.org/releases/$(LIBBSD).$(LIBBSD_SUFFIX) > +LIBBSD_SOURCE := $(SRCDIR)/$(LIBBSD).$(LIBBSD_SUFFIX) > +LIBBSD_DIR := $(BUILDDIR)/$(LIBBSD) > +LIBBSD_LICENSE := BSD > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > +LIBBSD_CONF_ENV = \ > + $(CROSS_ENV) > + > +# > +# autoconf > +# > +LIBSD_CONF_TOOL := autoconf > +LIBSD_CONF_OPT := \ > + $(GLOBAL_LARGE_FILE_OPTION) \ > + --enable-shared \ > + --disable-static \ > + --with-gnu-ld > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/libbsd.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, libbsd) > + @$(call install_fixup, libbsd,PRIORITY,optional) > + @$(call install_fixup, libbsd,SECTION,base) > + @$(call install_fixup, libbsd,AUTHOR,"Alexander Aring ") > + @$(call install_fixup, libbsd,DESCRIPTION,missing) > + > + @$(call install_lib, libbsd, 0, 0, 0644, libbsd) > + > + @$(call install_finish, libbsd) > + > + @$(call touch) > + > +# vim: syntax=make > -- > 1.8.5.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