--- /usr/portage/sys-apps/gzip/gzip-1.3.2.ebuild Tue Aug 13 23:50:35 2002 +++ ./gzip-1.3.2-r1.ebuild Sat Sep 7 20:18:23 2002 @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /home/cvsroot/gentoo-x86/sys-apps/gzip/gzip-1.3.2.ebuild,v 1.7 2002/08/14 03:22:06 murphy Exp $ +# $Header: /archive/cvsdir/portage/sys-apps/gzip/gzip-1.3.2-r1.ebuild,v 1.1 2002/09/07 06:17:58 set Exp $ S=${WORKDIR}/${P} DESCRIPTION="Standard GNU compressor" @@ -37,12 +37,24 @@ mandir=${D}/usr/share/man \ infodir=${D}/usr/share/info \ install || die + cd ${D}/bin for i in gzexe zforce zgrep zmore znew zcmp do dosed -e "1d" -e "s:${D}::" ${i} chmod 755 ${i} done + + # no need to waste space-- these guys should be links + # gzcat is equivilant to zcat, but historically zcat + # was a link to compress, and some people still think + # of gzcat first. gunzip should be a link too + rm gunzip zcat + dosym /bin/gzip /bin/gunzip + dosym /bin/gzip /bin/gzcat + dosym /usr/share/man/man1/gzip.1.gz /usr/share/man/man1/gzcat.1.gz + dosym /bin/gzip /bin/zcat + if [ -z "`use build`" ] then cd ${D}/usr/share/man/man1