blob: d7a69384d9db733cdca132d04b9bdc3f6b5a67e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Description: Librairie de compression/décompression
# URL: http://www.zlib.net/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on:
name=zlib
version=1.2.3
release=1
source=(http://www.zlib.net/$name-$version.tar.bz2)
build() {
cd $name-$version
export CFLAGS="${CFLAGS} -fPIC"
./configure --prefix=/usr --shared --libdir=/lib
make
make prefix=$PKG/usr libdir=$PKG/lib install
rm -v $PKG/lib/libz.so
mkdir -p $PKG/usr/lib
ln -sfv ../../lib/libz.so.1.2.3 $PKG/usr/lib/libz.so
make clean
./configure --prefix=/usr
make
make prefix=$PKG/usr install
chmod -v 644 $PKG/usr/lib/libz.a
}
|