21 lines
518 B
Plaintext
21 lines
518 B
Plaintext
|
# Description: A compression/decompression Library
|
||
|
# URL: http://www.zlib.net/
|
||
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||
|
|
||
|
name=zlib-32
|
||
|
version=1.2.7
|
||
|
release=2
|
||
|
source=(http://www.zlib.net/zlib-$version.tar.bz2)
|
||
|
|
||
|
build() {
|
||
|
cd zlib-$version
|
||
|
./configure --prefix=/usr \
|
||
|
--libdir=/usr/lib32 \
|
||
|
--sharedlibdir=/lib32
|
||
|
make
|
||
|
make DESTDIR=$PKG mandir=/usr/man install
|
||
|
ln -sf ../../lib32/libz.so.$version $PKG/usr/lib32/libz.so
|
||
|
rm $PKG/lib32/libz.so
|
||
|
rm -rf $PKG/usr/{include,man}
|
||
|
}
|