summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-03-21 08:38:44 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-03-21 08:38:44 +0000
commit72e4bcb999a856ad596404cbe2465131a683ce00 (patch)
tree452408eb8436eb08b88b05f91b55e45c2f9fc8bc /sys-apps/grep
parentform cleanups (diff)
downloadgentoo-2-72e4bcb999a856ad596404cbe2465131a683ce00.tar.gz
gentoo-2-72e4bcb999a856ad596404cbe2465131a683ce00.tar.bz2
gentoo-2-72e4bcb999a856ad596404cbe2465131a683ce00.zip
new version
Diffstat (limited to 'sys-apps/grep')
-rw-r--r--sys-apps/grep/ChangeLog4
-rw-r--r--sys-apps/grep/files/digest-grep-2.51
-rw-r--r--sys-apps/grep/grep-2.5.ebuild42
3 files changed, 46 insertions, 1 deletions
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 <drobbins@gentoo.org>
+# $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
+}
+