From 5f97124f39b935b6db12777bbf8881f0e457298b Mon Sep 17 00:00:00 2001 From: tnut Date: Sat, 24 Apr 2010 00:58:22 +0200 Subject: maj zlib#1.2.4-1 --- base/zlib/Pkgfile | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'base/zlib/Pkgfile') 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 } -- cgit v1.2.3-70-g09d2