blob: 063d789e7a1618ddf8d30d6effb88fd4b6457f7e (
plain)
1 # Description: A compression/decompression Library
2 # URL: http://www.zlib.net/
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4
5 name=zlib-32
6 version=1.2.13
7 release=1
8 source=(http://www.zlib.net/zlib-$version.tar.gz)
9
10 build() {
11 cd zlib-$version
12
13 ./configure \
14 --prefix=/usr \
15 --libdir=/usr/lib32 \
16 --sharedlibdir=/lib32
17
18 make
19 make DESTDIR=$PKG install
20
21 ln -sf ../../lib32/libz.so.$version $PKG/usr/lib32/libz.so
22 rm $PKG/lib32/libz.so
23
24 rm -r $PKG/usr/{include,share/man,share}
25 }
|