| 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.8 |
| 9 | release=2 |
| 10 | source=(http://www.zlib.net/$name-$version.tar.gz) |
| 11 | |
| 12 | build() { |
| 13 | cd $name-$version |
| 14 | ./configure --prefix=/usr --sharedlibdir=/lib |
| 15 | make |
| 16 | make DESTDIR=$PKG install |
| 17 | ln -sf ../../lib/libz.so.$version $PKG/usr/lib/libz.so |
| 18 | rm $PKG/lib/libz.so |
| 19 | } |