From: Victor Martinez Date: Thu, 12 Nov 2015 14:46:43 +0000 (+0000) Subject: gzip: updated mandir X-Git-Url: http://gitweb/?a=commitdiff_plain;h=f44fe30f10e1c23ceb4b0b8c3d4d603ab2c32a4a;p=crossrootfs.git gzip: updated mandir --- diff --git a/gzip/.footprint b/gzip/.footprint index 388d9f1..59e1b28 100644 --- a/gzip/.footprint +++ b/gzip/.footprint @@ -15,16 +15,17 @@ lrwxrwxrwx root/root usr/bin/uncompress -> /bin/gunzip -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 diff --git a/gzip/Pkgfile b/gzip/Pkgfile index 97bae11..e2fb89a 100644 --- a/gzip/Pkgfile +++ b/gzip/Pkgfile @@ -6,7 +6,7 @@ name=gzip version=1.6 -release=1 +release=2 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) build() { @@ -14,8 +14,7 @@ build() { ./configure --build=$CHOST \ --host=$CTARGET \ - --prefix=/usr \ - --mandir=/usr/man + --prefix=/usr make make DESTDIR=$PKG install @@ -23,15 +22,15 @@ build() { 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 }