1 # hdw - linux zlib package
3 # author: hackbard@hackdaworld.dyndns.org
7 # [D] zlib-1.2.2.tar.bz2 http://www.gzip.org/zlib/
9 confopt="--prefix=$root/usr --shared --libdir=$root/lib"
10 export CFLAGS="$CFLAGS -fPIC"
11 flist_pruned="$flist_pruned|etc/ld.so.cache"
16 ./configure --prefix=$root/usr
18 chmod 644 $prefix/lib/libz.a
21 ln -svf ../../lib/libz.so.1 $prefix/lib/libz.so