From 72e4bcb999a856ad596404cbe2465131a683ce00 Mon Sep 17 00:00:00 2001 From: Martin Schlemmer Date: Thu, 21 Mar 2002 08:38:44 +0000 Subject: new version --- sys-apps/grep/ChangeLog | 4 +++- sys-apps/grep/files/digest-grep-2.5 | 1 + sys-apps/grep/grep-2.5.ebuild | 42 +++++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 sys-apps/grep/files/digest-grep-2.5 create mode 100644 sys-apps/grep/grep-2.5.ebuild (limited to 'sys-apps/grep') diff --git a/sys-apps/grep/ChangeLog b/sys-apps/grep/ChangeLog index 64bc59988a6c..a13a5ffcca9f 100644 --- a/sys-apps/grep/ChangeLog +++ b/sys-apps/grep/ChangeLog @@ -1,6 +1,8 @@ # ChangeLog for sys-apps/grep # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/ChangeLog,v 1.1 2002/02/01 21:53:37 gbevin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/ChangeLog,v 1.2 2002/03/21 08:35:15 azarah Exp $ + +*grep-2.5 (21 March 2002) *grep-2.4.2-r5 (1 Feb 2002) diff --git a/sys-apps/grep/files/digest-grep-2.5 b/sys-apps/grep/files/digest-grep-2.5 new file mode 100644 index 000000000000..44d5eb65cda4 --- /dev/null +++ b/sys-apps/grep/files/digest-grep-2.5 @@ -0,0 +1 @@ +MD5 222a790b3fb5e6a90d43f9c1ee867ad2 grep-2.5.tar.gz 683116 diff --git a/sys-apps/grep/grep-2.5.ebuild b/sys-apps/grep/grep-2.5.ebuild new file mode 100644 index 000000000000..cdfa8e7cdd2e --- /dev/null +++ b/sys-apps/grep/grep-2.5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Daniel Robbins +# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/grep-2.5.ebuild,v 1.1 2002/03/21 08:35:16 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 +} + -- cgit v1.2.3-65-gdbad