summaryrefslogtreecommitdiffstats
path: root/main/zlib
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-07-09 11:18:43 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-09 13:04:26 +0000
commit545b4b8a52221b8a489bd9e255d975552cfa9946 (patch)
treec0c01e3b1e2342c3c1e6c060537b4bbf98467b19 /main/zlib
parent2c01afc831996efed05a7d50c872b346406b74f7 (diff)
downloadaports-545b4b8a52221b8a489bd9e255d975552cfa9946.tar.bz2
aports-545b4b8a52221b8a489bd9e255d975552cfa9946.tar.xz
main/zlib: support newer abuild
which will move /lib/*.a to -dev subpackage for us
Diffstat (limited to 'main/zlib')
-rw-r--r--main/zlib/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/zlib/APKBUILD b/main/zlib/APKBUILD
index 622a36d9b..4d521dcac 100644
--- a/main/zlib/APKBUILD
+++ b/main/zlib/APKBUILD
@@ -34,7 +34,10 @@ package() {
dev() {
default_dev
mkdir -p "$subpkgdir"/lib
- mv "$pkgdir"/lib/libz.a "$subpkgdir"/lib/libz.a
+ # newer abuild might do this for us
+ if [ -f "$pkgdir"/libz.a ]; then
+ mv "$pkgdir"/lib/libz.a "$subpkgdir"/lib/libz.a
+ fi
}
md5sums="44d667c142d7cda120332623eab69f40 zlib-1.2.8.tar.gz"