X-Git-Url: http://gitweb/?a=blobdiff_plain;f=zlib%2FPkgfile;h=a0098f2eb13d0843c5fd8217083a9520377f063e;hb=eba8238262e19848f51251fd261db84a74b546e8;hp=5622c44293ca2fb60f95e3311eefb041aac1d319;hpb=6dca1d213a39ee6af51632926e8b7c8914215cd9;p=crossrootfs.git diff --git a/zlib/Pkgfile b/zlib/Pkgfile index 5622c44..a0098f2 100644 --- a/zlib/Pkgfile +++ b/zlib/Pkgfile @@ -1,20 +1,24 @@ # Description: A compression/decompression Library # URL: http://www.zlib.net/ # Maintainer: CRUX System Team, core-ports at crux dot nu -# Arch Maintainer: CRUX ARM System Team +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Depends on: name=zlib -version=1.2.3 -release=1 -source=(http://www.zlib.net/$name-$version.tar.bz2 - http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/$name-$version-fPIC-1.patch) +version=1.2.5 +release=2 +source=(http://dl.sourceforge.net/project/libpng/$name/$version/$name-$version.tar.bz2 \ + $name-$version-lfs-decls.patch) build() { cd $name-$version - patch -Np1 -i ../$name-$version-fPIC-1.patch - ./configure --prefix=/usr --shared + patch -p1 -i $SRC/$name-$version-lfs-decls.patch + + ./configure --prefix=/usr \ + --shared + make AR="$AR rc" make prefix=$PKG/usr mandir=$PKG/usr/man install + chmod -v 644 $PKG/usr/lib/libz.a }