forked from ports/compat-32
26 lines
516 B
Plaintext
26 lines
516 B
Plaintext
# Description: A compression/decompression Library
|
|
# URL: http://www.zlib.net/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
|
|
name=zlib-32
|
|
version=1.2.13
|
|
release=1
|
|
source=(http://www.zlib.net/zlib-$version.tar.gz)
|
|
|
|
build() {
|
|
cd zlib-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--sharedlibdir=/lib32
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
ln -sf ../../lib32/libz.so.$version $PKG/usr/lib32/libz.so
|
|
rm $PKG/lib32/libz.so
|
|
|
|
rm -r $PKG/usr/{include,share/man,share}
|
|
}
|