| 1 | # Description: A compression/decompression Library |
| 2 | # URL: http://www.zlib.net/ |
| 3 | # Maintainer: CRUX System Team, core-ports at crux dot nu |
| 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 5 | # Depends on: |
| 6 | |
| 7 | name=zlib |
| 8 | version=1.2.5 |
| 9 | release=2 |
| 10 | source=(http://dl.sourceforge.net/project/libpng/$name/$version/$name-$version.tar.bz2 \ |
| 11 | $name-$version-lfs-decls.patch) |
| 12 | |
| 13 | build() { |
| 14 | cd $name-$version |
| 15 | patch -p1 -i $SRC/$name-$version-lfs-decls.patch |
| 16 | |
| 17 | ./configure --prefix=/usr \ |
| 18 | --shared |
| 19 | |
| 20 | make AR="$AR rc" |
| 21 | make prefix=$PKG/usr mandir=$PKG/usr/man install |
| 22 | |
| 23 | chmod -v 644 $PKG/usr/lib/libz.a |
| 24 | } |