drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/gzexe
--rwxr-xr-x root/root usr/bin/uncompress
+lrwxrwxrwx root/root usr/bin/uncompress -> /bin/gunzip
-rwxr-xr-x root/root usr/bin/zcmp
-rwxr-xr-x root/root usr/bin/zdiff
-rwxr-xr-x root/root usr/bin/zegrep
name=gzip
version=1.5
-release=1
+release=2
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
build() {
ln -sf gzip.1.gz $PKG/usr/man/man1/zcat.1.gz
ln -sf zdiff.1.gz $PKG/usr/man/man1/zcmp.1.gz
+ # make uncompress a symlink to gunzip, since the hardlink
+ # will not work if / and /usr are on different file systems.
+ rm $PKG/usr/bin/uncompress
+ ln -s /bin/gunzip $PKG/usr/bin/uncompress
+
rm -r $PKG/usr/share
}