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 1YAgsj-00050u-0h for ptxdist@pengutronix.de; Mon, 12 Jan 2015 16:26:17 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1YAgsi-0004Ud-VD for ptxdist@pengutronix.de; Mon, 12 Jan 2015 16:26:16 +0100 Date: Mon, 12 Jan 2015 16:26:16 +0100 From: Michael Olbrich Message-ID: <20150112152616.GD26436@pengutronix.de> References: <1418400036-6269-1-git-send-email-guille.rodriguez@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1418400036-6269-1-git-send-email-guille.rodriguez@gmail.com> Subject: Re: [ptxdist] [PATCH] 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="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Fri, Dec 12, 2014 at 05:00:36PM +0100, grodriguez wrote: Your Signed-off-by: is missing > --- > 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=3Dsystem_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 conditio= ns > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_LIBZIP) +=3D libzip > + > +# > +# Paths and names > +# > +LIBZIP_VERSION :=3D 0.11.2 > +LIBZIP_MD5 :=3D c5437df15e4825d40cdc3ec8b9b7516c > +LIBZIP :=3D libzip-$(LIBZIP_VERSION) > +LIBZIP_SUFFIX :=3D tar.gz > +LIBZIP_URL :=3D http://www.nih.at/libzip/$(LIBZIP).$(LIBZIP_SUFFIX) > +LIBZIP_SOURCE :=3D $(SRCDIR)/$(LIBZIP).$(LIBZIP_SUFFIX) > +LIBZIP_DIR :=3D $(BUILDDIR)/$(LIBZIP) > +LIBZIP_LICENSE :=3D BSD > + > +# ----------------------------------------------------------------------= ------ > +# Prepare > +# ----------------------------------------------------------------------= ------ > + > +LIBZIP_CONF_ENV :=3D $(CROSS_ENV) drop this line > + > +LIBZIP_CONF_TOOL :=3D autoconf > +LIBZIP_CONF_OPT :=3D $(CROSS_AUTOCONF_USR) = LIBZIP_CONF_TOOL :=3D autoconf LIBZIP_CONF_OPT :=3D \ $(CROSS_AUTOCONF_USR)=B7\ $(GLOBAL_LARGE_FILE_OPTION) Michael > + > +# ----------------------------------------------------------------------= ------ > +# Install > +# ----------------------------------------------------------------------= ------ > + > +$(STATEDIR)/libzip.install.pack: > + @$(call targetinfo) > + @$(call world/install.pack, LIBZIP) > + @sed -i -e 's,libincludedir=3D/usr/lib,libincludedir=3D$${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=3Dmake > -- = > 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