22 lines
529 B
Plaintext
22 lines
529 B
Plaintext
|
# Description: A compression/decompression Library
|
|||
|
# URL: http://www.zlib.net/
|
|||
|
# Maintainer: Per Lid<69>n <per@fukt.bth.se>
|
|||
|
|
|||
|
name=zlib
|
|||
|
version=1.2.3
|
|||
|
release=1
|
|||
|
source=(http://www.zlib.net/$name-$version.tar.bz2)
|
|||
|
|
|||
|
build() {
|
|||
|
cd $name-$version
|
|||
|
./configure --prefix=/usr
|
|||
|
make
|
|||
|
make prefix=$PKG/usr mandir=$PKG/usr/man install
|
|||
|
make clean
|
|||
|
export CFLAGS="${CFLAGS} -fPIC"
|
|||
|
./configure --prefix=/usr --shared
|
|||
|
make
|
|||
|
make prefix=$PKG/usr mandir=$PKG/usr/man install
|
|||
|
chmod -x $PKG/usr/lib/libz.a
|
|||
|
}
|