-rwxr-xr-x root/root usr/bin/zless
-rwxr-xr-x root/root usr/bin/zmore
-rwxr-xr-x root/root usr/bin/znew
-drwxr-xr-x root/root usr/man/
-drwxr-xr-x root/root usr/man/man1/
-lrwxrwxrwx root/root usr/man/man1/gunzip.1.gz -> gzip.1.gz
--rw-r--r-- root/root usr/man/man1/gzexe.1.gz
--rw-r--r-- root/root usr/man/man1/gzip.1.gz
-lrwxrwxrwx root/root usr/man/man1/zcat.1.gz -> gzip.1.gz
-lrwxrwxrwx root/root usr/man/man1/zcmp.1.gz -> zdiff.1.gz
--rw-r--r-- root/root usr/man/man1/zdiff.1.gz
--rw-r--r-- root/root usr/man/man1/zforce.1.gz
--rw-r--r-- root/root usr/man/man1/zgrep.1.gz
--rw-r--r-- root/root usr/man/man1/zless.1.gz
--rw-r--r-- root/root usr/man/man1/zmore.1.gz
--rw-r--r-- root/root usr/man/man1/znew.1.gz
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+lrwxrwxrwx root/root usr/share/man/man1/gunzip.1.gz -> gzip.1.gz
+-rw-r--r-- root/root usr/share/man/man1/gzexe.1.gz
+-rw-r--r-- root/root usr/share/man/man1/gzip.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/zcat.1.gz -> gzip.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/zcmp.1.gz -> zdiff.1.gz
+-rw-r--r-- root/root usr/share/man/man1/zdiff.1.gz
+-rw-r--r-- root/root usr/share/man/man1/zforce.1.gz
+-rw-r--r-- root/root usr/share/man/man1/zgrep.1.gz
+-rw-r--r-- root/root usr/share/man/man1/zless.1.gz
+-rw-r--r-- root/root usr/share/man/man1/zmore.1.gz
+-rw-r--r-- root/root usr/share/man/man1/znew.1.gz
name=gzip
version=1.6
-release=1
+release=2
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
build() {
./configure --build=$CHOST \
--host=$CTARGET \
- --prefix=/usr \
- --mandir=/usr/man
+ --prefix=/usr
make
make DESTDIR=$PKG install
install -d $PKG/bin
mv $PKG/usr/bin/{gzip,gunzip,zcat} $PKG/bin
- rm $PKG/usr/man/man1/{gunzip.1,zcat.1,zcmp.1}
- ln -sf gzip.1.gz $PKG/usr/man/man1/gunzip.1.gz
- ln -sf gzip.1.gz $PKG/usr/man/man1/zcat.1.gz
- ln -sf zdiff.1.gz $PKG/usr/man/man1/zcmp.1.gz
+ rm $PKG/usr/share/man/man1/{gunzip.1,zcat.1,zcmp.1}
+ ln -sf gzip.1.gz $PKG/usr/share/man/man1/gunzip.1.gz
+ ln -sf gzip.1.gz $PKG/usr/share/man/man1/zcat.1.gz
+ ln -sf zdiff.1.gz $PKG/usr/share/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
+ rm -r $PKG/usr/share/info
}