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
10 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
14 ./configure --build=$CHOST \
19 make DESTDIR=$PKG install
22 mv $PKG/usr/bin/{gzip,gunzip,zcat} $PKG/bin
23 rm $PKG/usr/man/man1/{gunzip.1,zcat.1,zcmp.1}
24 ln -sf gzip.1.gz $PKG/usr/man/man1/gunzip.1.gz
25 ln -sf gzip.1.gz $PKG/usr/man/man1/zcat.1.gz
26 ln -sf zdiff.1.gz $PKG/usr/man/man1/zcmp.1.gz
27 # make uncompress a symlink to gunzip, since it will not work
28 # if / and /usr are on different file systems.
29 rm $PKG/usr/bin/uncompress
30 ln -s /bin/gunzip $PKG/usr/bin/uncompress