Date: Sunday, June 5, 2011 @ 14:50:29 Author: remy Revision: 126501 Move zziplib to [extra]
Added: zziplib/ zziplib/repos/ zziplib/trunk/ zziplib/trunk/PKGBUILD zziplib/trunk/zziplib-0.13.60-ldflags.patch -------------------------------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ zziplib-0.13.60-ldflags.patch | 14 ++++++++++++++ 2 files changed, 51 insertions(+) Added: zziplib/trunk/PKGBUILD =================================================================== --- zziplib/trunk/PKGBUILD (rev 0) +++ zziplib/trunk/PKGBUILD 2011-06-05 18:50:29 UTC (rev 126501) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Rémy Oudompheng <[email protected]> +# Contributor: Daniel J Griffiths <[email protected]> +# Contributor: Roman Kyrylych <[email protected]> + +pkgname=zziplib +pkgver=0.13.60 +pkgrel=1 +pkgdesc="A lightweight library that offers the ability to easily extract data from files archived in a single zip file" +arch=('i686' 'x86_64') +url="http://zziplib.sourceforge.net" +license=('LGPL' 'MPL') +depends=('zlib') +makedepends=('python2') +options=('!libtool') +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2 + zziplib-0.13.60-ldflags.patch) +md5sums=('54a6aa53262483a4d54f7c59f0a7258b' + 'e585052f884525a338ca341b5d2957dc') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + export PYTHON=/usr/bin/python2 + patch -p1 -i ../zziplib-0.13.60-ldflags.patch + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + +#fix permission + chmod -s "${pkgdir}/usr/share/man/man3" + chmod 644 "${pkgdir}"/usr/share/man/man3/* + chown -R root:root "${pkgdir}/usr/share/man/man3" +} Property changes on: zziplib/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords + Id Added: zziplib/trunk/zziplib-0.13.60-ldflags.patch =================================================================== --- zziplib/trunk/zziplib-0.13.60-ldflags.patch (rev 0) +++ zziplib/trunk/zziplib-0.13.60-ldflags.patch 2011-06-05 18:50:29 UTC (rev 126501) @@ -0,0 +1,14 @@ +https://sourceforge.net/tracker/?func=detail&aid=3175466&group_id=6389&atid=306389 +https://bugs.gentoo.org/354051 + +--- a/configure ++++ b/configure +@@ -292,7 +292,7 @@ + # --------------------------------------------------------------- + AC_MSG_CHECKING([link options]) + ZZIPLIB_LDFLAGS="" +-test ".$can_build_shared" != ".no" && ZZIPLIB_LDFLAGS="--export-dynamic" ++test ".$can_build_shared" != ".no" && ZZIPLIB_LDFLAGS="-export-dynamic" + RESOLVES=" # " + case "$host_os" in mingw*) + ZZIPLIB_LDFLAGS="-no-undefined -export-all-symbols -mconsole"
