diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-12-30 19:15:59 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-12-30 19:15:59 +0000 |
commit | d4e515b064da26c185684ad75142021250e0e7d6 (patch) | |
tree | 7967c48e00d9b01a415a1bee86e4ad0883c72faf /main/zlib | |
parent | 363df59b0cc4bcffdfd767c171106e6c2e0f0809 (diff) | |
download | aports-d4e515b064da26c185684ad75142021250e0e7d6.tar.bz2 aports-d4e515b064da26c185684ad75142021250e0e7d6.tar.xz |
main/zlib: hack to fix the symlinks to lib
Diffstat (limited to 'main/zlib')
-rw-r--r-- | main/zlib/APKBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/main/zlib/APKBUILD b/main/zlib/APKBUILD index 5313f988fd..b9d1f799bf 100644 --- a/main/zlib/APKBUILD +++ b/main/zlib/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=zlib pkgver=1.2.3.4 -pkgrel=0 +pkgrel=1 pkgdesc="A compression/decompression Library" license=custom:zlib url="http://www.gzip.org/zlib" @@ -17,11 +17,16 @@ build() { package() { cd "$srcdir/$pkgname-$pkgver" - make install DESTDIR="$pkgdir" || return 1 + make install \ + pkgconfigdir="/usr/lib/pkgconfig" \ + LIBS="libz.so.1.2.3.4 libz.a" \ + DESTDIR="$pkgdir" || return 1 +} - # we want the zlib.pc be a part of -dev package - mkdir -p "$pkgdir"/usr/lib - mv "$pkgdir"/lib/pkgconfig "$pkgdir"/usr/lib/ +dev() { + default_dev + mkdir -p "$subpkgdir"/lib + mv "$pkgdir"/lib/libz.a "$subpkgdir"/lib/libz.a } md5sums="70cad33163abe3c234939a5c63bf95ea zlib-1.2.3.4.tar.gz" |