CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
file: updated to 5.12 and aligned with upstream
[crossrootfs.git] / gzip / Pkgfile
... / ...
CommitLineData
1# Description: GNU compression utility (replacement for compress)
2# URL: http://www.gzip.org/
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
7name=gzip
8version=1.5
9release=1
10source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
11
12build() {
13 cd $name-$version
14
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --mandir=/usr/man
19
20 make
21 make DESTDIR=$PKG install
22
23 install -d $PKG/bin
24 mv $PKG/usr/bin/{gzip,gunzip,zcat} $PKG/bin
25
26 rm $PKG/usr/man/man1/{gunzip.1,zcat.1,zcmp.1}
27 ln -sf gzip.1.gz $PKG/usr/man/man1/gunzip.1.gz
28 ln -sf gzip.1.gz $PKG/usr/man/man1/zcat.1.gz
29 ln -sf zdiff.1.gz $PKG/usr/man/man1/zcmp.1.gz
30
31 rm -r $PKG/usr/share
32}