CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
rsync: added missing files
[crossrootfs.git] / zlib / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: A compression/decompression Library
2# URL: http://www.zlib.net/
3# Maintainer: CRUX System Team, core-ports at crux dot nu
3f914f63 4# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
6dca1d21
JB
5# Depends on:
6
7name=zlib
8version=1.2.3
9release=1
10source=(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
13build() {
14 cd $name-$version
15 patch -Np1 -i ../$name-$version-fPIC-1.patch
6d2b231d
JB
16
17 ./configure --prefix=/usr \
18 --shared
19
6dca1d21
JB
20 make AR="$AR rc"
21 make prefix=$PKG/usr mandir=$PKG/usr/man install
6d2b231d 22
6dca1d21
JB
23 chmod -v 644 $PKG/usr/lib/libz.a
24}