|
|
# Copyright 1999-2002 Gentoo Technologies, Inc. | # Copyright 1999-2002 Gentoo Technologies, Inc. |
# Distributed under the terms of the GNU General Public License, v2 or later | # 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} | S=${WORKDIR}/${P} |
DESCRIPTION="Standard GNU compressor" | DESCRIPTION="Standard GNU compressor" |
|
|
mandir=${D}/usr/share/man \ | mandir=${D}/usr/share/man \ |
infodir=${D}/usr/share/info \ | infodir=${D}/usr/share/info \ |
install || die | install || die |
|
|
cd ${D}/bin | cd ${D}/bin |
for i in gzexe zforce zgrep zmore znew zcmp | for i in gzexe zforce zgrep zmore znew zcmp |
do | do |
dosed -e "1d" -e "s:${D}::" ${i} | dosed -e "1d" -e "s:${D}::" ${i} |
chmod 755 ${i} | chmod 755 ${i} |
done | 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`" ] | if [ -z "`use build`" ] |
then | then |
cd ${D}/usr/share/man/man1 | cd ${D}/usr/share/man/man1 |