mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] New package: libzip
Date: Mon, 12 Jan 2015 16:26:16 +0100	[thread overview]
Message-ID: <20150112152616.GD26436@pengutronix.de> (raw)
In-Reply-To: <1418400036-6269-1-git-send-email-guille.rodriguez@gmail.com>

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=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 <guille.rodriguez@gmail.com>
> +#
> +# 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)

drop this line

> +
> +LIBZIP_CONF_TOOL := autoconf
> +LIBZIP_CONF_OPT	:= $(CROSS_AUTOCONF_USR) 

LIBZIP_CONF_TOOL	:= autoconf
LIBZIP_CONF_OPT		:= \
	$(CROSS_AUTOCONF_USR)·\
	$(GLOBAL_LARGE_FILE_OPTION)

Michael

> +
> +# ----------------------------------------------------------------------------
> +# 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 <guille.rodriguez@gmail.com>")
> +	@$(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

  reply	other threads:[~2015-01-12 15:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-12 16:00 grodriguez
2015-01-12 15:26 ` Michael Olbrich [this message]
2015-01-13  9:07   ` Guillermo Rodriguez
2015-01-13 15:46 ` [ptxdist] [PATCH v2] " grodriguez
2015-01-14 10:21   ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150112152616.GD26436@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox