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 1YBL5G-0005WG-5B for ptxdist@pengutronix.de; Wed, 14 Jan 2015 11:21:54 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1YBL5G-0008Ka-3W for ptxdist@pengutronix.de; Wed, 14 Jan 2015 11:21:54 +0100 Date: Wed, 14 Jan 2015 11:21:54 +0100 From: Michael Olbrich Message-ID: <20150114102154.GT26436@pengutronix.de> References: <1418400036-6269-1-git-send-email-guille.rodriguez@gmail.com> <1421163996-2655-1-git-send-email-guille.rodriguez@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1421163996-2655-1-git-send-email-guille.rodriguez@gmail.com> Subject: Re: [ptxdist] [PATCH v2] New package: libzip 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 Tue, Jan 13, 2015 at 04:46:36PM +0100, grodriguez wrote: > Added missing signed-off-by line. > Thanks, applied. Michael > Signed-off-by: Guillermo Rodriguez > --- > rules/libzip.in | 12 +++++++++ > rules/libzip.make | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 79 insertions(+), 0 deletions(-) > create mode 100644 rules/libzip.in > create mode 100644 rules/libzip.make > > diff --git a/rules/libzip.in b/rules/libzip.in > new file mode 100644 > index 0000000..b871e10 > --- /dev/null > +++ b/rules/libzip.in > @@ -0,0 +1,12 @@ > +## SECTION=system_libraries > + > +config LIBZIP > + tristate > + prompt "libzip" > + select ZLIB > + help > + libzip is a C library for reading, creating, and modifying > + zip archives. Files can be added from data buffers, files, > + or compressed data copied directly from other zip archives. > + Changes made without closing the archive can be reverted. > + > diff --git a/rules/libzip.make b/rules/libzip.make > new file mode 100644 > index 0000000..e7596b7 > --- /dev/null > +++ b/rules/libzip.make > @@ -0,0 +1,67 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2014 by Guillermo Rodriguez > +# > +# 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_LIBZIP) += libzip > + > +# > +# Paths and names > +# > +LIBZIP_VERSION := 0.11.2 > +LIBZIP_MD5 := c5437df15e4825d40cdc3ec8b9b7516c > +LIBZIP := libzip-$(LIBZIP_VERSION) > +LIBZIP_SUFFIX := tar.gz > +LIBZIP_URL := http://www.nih.at/libzip/$(LIBZIP).$(LIBZIP_SUFFIX) > +LIBZIP_SOURCE := $(SRCDIR)/$(LIBZIP).$(LIBZIP_SUFFIX) > +LIBZIP_DIR := $(BUILDDIR)/$(LIBZIP) > +LIBZIP_LICENSE := BSD > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +LIBZIP_CONF_ENV := $(CROSS_ENV) > + > +LIBZIP_CONF_TOOL := autoconf > +LIBZIP_CONF_OPT := $(CROSS_AUTOCONF_USR) > + > +# ---------------------------------------------------------------------------- > +# Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/libzip.install.pack: > + @$(call targetinfo) > + @$(call world/install.pack, LIBZIP) > + @sed -i -e 's,libincludedir=/usr/lib,libincludedir=$${libdir},g' \ > + '$(LIBZIP_PKGDIR)/usr/lib/pkgconfig/libzip.pc' > + @$(call touch) > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/libzip.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, libzip) > + @$(call install_fixup, libzip, PRIORITY, optional) > + @$(call install_fixup, libzip, SECTION, base) > + @$(call install_fixup, libzip, AUTHOR, "Guillermo Rodriguez ") > + @$(call install_fixup, libzip, DESCRIPTION, missing) > + > + @$(call install_lib, libzip, 0, 0, 0644, libzip) > + > + @$(call install_finish, libzip) > + > + @$(call touch) > + > +# vim: syntax=make > -- > 1.7.0.4 > > > -- > 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