CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e05990372698ce6b58fba4d0d4e1bea8c7e67c41
[crossrootfs.git] / zlib / Pkgfile
1 # Description: A compression/decompression Library
2 # URL: http://www.zlib.net/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on:
6
7 name=zlib
8 version=1.2.3
9 release=1
10 source=(http://www.zlib.net/$name-$version.tar.bz2
11 http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/$name-$version-fPIC-1.patch)
12
13 build() {
14 cd $name-$version
15 patch -Np1 -i ../$name-$version-fPIC-1.patch
16
17 ./configure --prefix=/usr \
18 --shared
19
20 make AR="$AR rc"
21 make prefix=$PKG/usr mandir=$PKG/usr/man install
22
23 chmod -v 644 $PKG/usr/lib/libz.a
24 }