diff options
author | 2001-12-17 21:32:00 +0000 | |
---|---|---|
committer | 2001-12-17 21:32:00 +0000 | |
commit | 083109fea233fbb08c3f1898212c0ce6e4c5f11d (patch) | |
tree | 575e4d2c787fef023a4c946b60bcf0304a9134bc /sys-apps/grep | |
parent | changes needed for stuff being tested (diff) | |
download | gentoo-2-083109fea233fbb08c3f1898212c0ce6e4c5f11d.tar.gz gentoo-2-083109fea233fbb08c3f1898212c0ce6e4c5f11d.tar.bz2 gentoo-2-083109fea233fbb08c3f1898212c0ce6e4c5f11d.zip |
moved binaries to /bin as some rc-scripts may depend on grep
Diffstat (limited to 'sys-apps/grep')
-rw-r--r-- | sys-apps/grep/files/digest-grep-2.4.2-r5 | 1 | ||||
-rw-r--r-- | sys-apps/grep/grep-2.4.2-r5.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/sys-apps/grep/files/digest-grep-2.4.2-r5 b/sys-apps/grep/files/digest-grep-2.4.2-r5 new file mode 100644 index 000000000000..18f3edae1f3c --- /dev/null +++ b/sys-apps/grep/files/digest-grep-2.4.2-r5 @@ -0,0 +1 @@ +MD5 8ec9a2e875cd3aaa89896a8f39249f58 grep-2.4.2.tar.gz 466944 diff --git a/sys-apps/grep/grep-2.4.2-r5.ebuild b/sys-apps/grep/grep-2.4.2-r5.ebuild new file mode 100644 index 000000000000..178df754ca4f --- /dev/null +++ b/sys-apps/grep/grep-2.4.2-r5.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author: Daniel Robbins <drobbins@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/grep-2.4.2-r5.ebuild,v 1.1 2001/12/17 21:32:00 azarah Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="GNU regular expression matcher" +SRC_URI="ftp://prep.ai.mit.edu/gnu/grep/${P}.tar.gz" +HOMEPAGE="http://www.gnu.org/software/grep/grep.html" +DEPEND="virtual/glibc nls? ( sys-devel/gettext )" +RDEPEND="virtual/glibc" + +src_compile() { + local myconf + [ -z "`use nls`" ] && myconf="--disable-nls" + ./configure --prefix=/usr --bindir=/bin --mandir=/usr/share/man \ + --infodir=/usr/share/info --host=${CHOST} ${myconf} || die + emake || die +} + +src_install() { + make prefix=${D}/usr bindir=${D}/bin mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info install || die + if [ -z "`use build`" ] + then + dodoc AUTHORS COPYING ChangeLog NEWS README THANKS TODO + else + rm -rf ${D}/usr/share + fi +} + + + |