CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.5 and aligned with upstream
[crossrootfs.git] / zlib / Pkgfile
index dbab3c751eaf14a0d86ba31b92a8c39215cf12a3..6ccc8282cb66659415679a624228a9c82952dc82 100644 (file)
@@ -6,15 +6,14 @@
 
 name=zlib
 version=1.2.7
-release=1
+release=2
 source=(http://www.zlib.net/$name-$version.tar.bz2)
 
 build() {
   cd $name-$version
-  ./configure --prefix=/usr \
-              --shared
+  ./configure --prefix=/usr --sharedlibdir=/lib
   make
-  make prefix=$PKG/usr mandir=$PKG/usr/man install
-
-  chmod -v 644 $PKG/usr/lib/libz.a
+  make DESTDIR=$PKG mandir=/usr/man install
+  ln -sf ../../lib/libz.so.$version $PKG/usr/lib/libz.so
+  rm $PKG/lib/libz.so
 }