summaryrefslogtreecommitdiffstats
path: root/l/zlib
diff options
context:
space:
mode:
authorAdrien Nader <adrien@notk.org>2012-07-15 14:12:05 +0200
committerAdrien Nader <adrien@notk.org>2012-07-15 14:12:05 +0200
commit0c9ba8971c14ddc288b64ad705c6db7cca045c62 (patch)
treecfc9ecc71ed4c4631897ee30ff8d352cd860d6a0 /l/zlib
parentfde09e803a4343774a0eaed35ea6da28ae2cb603 (diff)
zlib: install zlib-1.dll in bin/, skip libz.a.
Diffstat (limited to 'l/zlib')
-rwxr-xr-xl/zlib/zlib.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/l/zlib/zlib.SlackBuild b/l/zlib/zlib.SlackBuild
index b7cf0b2..5467fb5 100755
--- a/l/zlib/zlib.SlackBuild
+++ b/l/zlib/zlib.SlackBuild
@@ -84,10 +84,11 @@ CC=${HOST_TRIPLET}-gcc \
mkdir -p $PKG/${PREFIX}/include
cp -a zlib.h zconf.h $PKG/${PREFIX}/include
chmod 644 $PKG/${PREFIX}/include/*
+mkdir -p $PKG/${PREFIX}/bin
+cp -a libz*.dll $PKG/${PREFIX}/bin
mkdir -p $PKG/${PREFIX}/lib${LIBDIRSUFFIX}
-cp -a libz.a libz.so* libz*.dll* $PKG/${PREFIX}/lib${LIBDIRSUFFIX}
-chmod 755 $PKG/${PREFIX}/lib${LIBDIRSUFFIX}/*
-chmod 644 $PKG/${PREFIX}/lib${LIBDIRSUFFIX}/libz.a
+cp -a libz*.dll.a $PKG/${PREFIX}/lib${LIBDIRSUFFIX}
+chmod 755 $PKG/${PREFIX}/bin/*
mkdir -p $PKG/${PREFIX}/man/man3
cat zlib.3 | gzip -9c > $PKG/${PREFIX}/man/man3/zlib.3.gz