-rw-r--r-- root/root usr/include/zlib.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libz.a
-lrwxrwxrwx root/root usr/lib/libz.so -> libz.so.1.2.5
-lrwxrwxrwx root/root usr/lib/libz.so.1 -> libz.so.1.2.5
--rwxr-xr-x root/root usr/lib/libz.so.1.2.5
+lrwxrwxrwx root/root usr/lib/libz.so -> libz.so.1.2.7
+lrwxrwxrwx root/root usr/lib/libz.so.1 -> libz.so.1.2.7
+-rwxr-xr-x root/root usr/lib/libz.so.1.2.7
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/zlib.pc
drwxr-xr-x root/root usr/man/
-e0b1ddb828dbe6eda55abb992967463c zlib-1.2.5-lfs-decls.patch
-be1e89810e66150f5b0327984d8625a0 zlib-1.2.5.tar.bz2
+2ab442d169156f34c379c968f3f482dd zlib-1.2.7.tar.bz2
# Depends on:
name=zlib
-version=1.2.5
-release=2
-source=(http://dl.sourceforge.net/project/libpng/$name/$version/$name-$version.tar.bz2 \
- $name-$version-lfs-decls.patch)
+version=1.2.7
+release=1
+source=(http://www.zlib.net/$name-$version.tar.bz2)
build() {
cd $name-$version
- patch -p1 -i $SRC/$name-$version-lfs-decls.patch
-
./configure --prefix=/usr \
--shared
-
- make AR="$AR rc"
+ make
make prefix=$PKG/usr mandir=$PKG/usr/man install
chmod -v 644 $PKG/usr/lib/libz.a