CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
binutils: update to 2.22. Removed host's texinfo dependency.
[crossrootfs.git] / zlib / Pkgfile
index 5622c44293ca2fb60f95e3311eefb041aac1d319..a0098f2eb13d0843c5fd8217083a9520377f063e 100644 (file)
@@ -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
 }