summaryrefslogtreecommitdiffstats
path: root/base/zlib/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/zlib/Pkgfile')
-rwxr-xr-xbase/zlib/Pkgfile15
1 files changed, 5 insertions, 10 deletions
diff --git a/base/zlib/Pkgfile b/base/zlib/Pkgfile
index d7a69384d..31f2296ea 100755
--- a/base/zlib/Pkgfile
+++ b/base/zlib/Pkgfile
@@ -5,23 +5,18 @@
# Depends on:
name=zlib
-version=1.2.3
+version=1.2.4
release=1
source=(http://www.zlib.net/$name-$version.tar.bz2)
build() {
cd $name-$version
- export CFLAGS="${CFLAGS} -fPIC"
- ./configure --prefix=/usr --shared --libdir=/lib
- make
- make prefix=$PKG/usr libdir=$PKG/lib install
- rm -v $PKG/lib/libz.so
- mkdir -p $PKG/usr/lib
- ln -sfv ../../lib/libz.so.1.2.3 $PKG/usr/lib/libz.so
- make clean
./configure --prefix=/usr
make
make prefix=$PKG/usr install
+ mkdir $PKG/lib
+ mv -v $PKG/usr/lib/libz.so.* $PKG/lib
+
+ ln -sfv ../../lib/libz.so.1.2.4 $PKG/usr/lib/libz.so
- chmod -v 644 $PKG/usr/lib/libz.a
}