summaryrefslogtreecommitdiffstats
path: root/base/zlib/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-04-24 00:58:22 +0200
committertnut <thierryn1 at hispeed dot ch>2010-04-24 00:58:22 +0200
commit5f97124f39b935b6db12777bbf8881f0e457298b (patch)
tree351028963551fa549eed05daf1c6d1cb05a8ced4 /base/zlib/Pkgfile
parent9a96cca96a62316b034c1d5ad36fa236c4da0689 (diff)
downloadnutyx-extra-5f97124f39b935b6db12777bbf8881f0e457298b.tar.gz
nutyx-extra-5f97124f39b935b6db12777bbf8881f0e457298b.tar.bz2
nutyx-extra-5f97124f39b935b6db12777bbf8881f0e457298b.tar.xz
nutyx-extra-5f97124f39b935b6db12777bbf8881f0e457298b.zip
maj zlib#1.2.4-1
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
}