X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id E425BDC011E for ; Wed, 12 Sep 2012 19:27:42 +0000 (UTC) Received: by eeke52 with SMTP id e52so1676005eek.13 for ; Wed, 12 Sep 2012 12:27:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=Ur/ztDDB4BUY84aIyXqL6h5s/mt1XG/31HXsOC7CeX8=; b=ZClDnr/NDAjRo/BAiSMXSZQp0Ua7B6DzFSpgxxAQudgbaUZdQr88V/XDeg6sSGVLlr gG23dJDWWCJ0UjXQn6glQ3MKniJzgp8tOT4CN4TTsDin/Ty5mnW3sOqpTtt4HksXBlsx VbI+siF8KPSi9GkGP+4xezoP+yC0l0t7X+aR+J3zjvwiXozEOnrxEqefCeaZu5rkeZn9 3vtITqgqYwRekKwnL6UTnaF/a5z/xzmg0qDisaZ9QuLiblZ2/cvlrnf44HpJUKFXPxxA u4ECnIyslXE8uCEaXY0ehu0NDE01j67hFoPmmgdj+ex/qWpVyopbxiuOPAraxI7rjH7L FBgg== Received: by 10.14.212.72 with SMTP id x48mr32565603eeo.40.1347478061332; Wed, 12 Sep 2012 12:27:41 -0700 (PDT) Received: from mhdev.alpinelinux.org (build.alpinelinux.org. [91.220.88.20]) by mx.google.com with ESMTPS id e7sm58843028eep.2.2012.09.12.12.27.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 12 Sep 2012 12:27:40 -0700 (PDT) From: Mika Havela To: alpine-devel@lists.alpinelinux.org Cc: Mika Havela Subject: [alpine-devel] [PATCH 1/2] testing/libzzip: New aport Date: Wed, 12 Sep 2012 19:27:31 +0000 Message-Id: <1347478052-8352-1-git-send-email-mika.havela@gmail.com> X-Mailer: git-send-email 1.7.12 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: A lightweight library that offers the ability to easily extract data from files archived in a single zip file http://zziplib.sourceforge.net --- testing/libzzip/APKBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 testing/libzzip/APKBUILD diff --git a/testing/libzzip/APKBUILD b/testing/libzzip/APKBUILD new file mode 100644 index 0000000..d446e61 --- /dev/null +++ b/testing/libzzip/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Mika Havela +# Maintainer: Mika Havela +pkgname=libzzip +_pkgbase=zziplib +pkgver="0.13.62" +pkgrel=0 +pkgdesc="A lightweight library that offers the ability to easily extract data from files archived in a single zip file" +url="http://zziplib.sourceforge.net" +arch="x86" +license="LGPL/MIT" +depends="" +depends_dev="perl-dev zlib-dev" +makedepends="$depends_dev python" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://downloads.sourceforge.net/${_pkgbase}/${_pkgbase}-${pkgver}.tar.bz2" + +_builddir="$srcdir/${_pkgbase}-${pkgver}" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + export CC='gcc -m32' + export CXX='g++ -m32' + export PKG_CONFIG_PATH='/usr/lib/pkgconfig' + export PYTHON='/usr/bin/python2' + + ./configure --prefix=/usr --libdir=/usr/lib + make +} + +package() { + cd "$_builddir" + make DESTDIR="${pkgdir}" install || return 1 + rm -rf "${pkgdir}"/usr/{bin,include,share} + rm "${pkgdir}"/usr/lib/*.la || return 1 +} + +md5sums="5fe874946390f939ee8f4abe9624b96c zziplib-0.13.62.tar.bz2" -- 1.7.12 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---