summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-03-23 21:11:54 +0000
committerMike Frysinger <vapier@gentoo.org>2010-03-23 21:11:54 +0000
commita14708bd5625442395069c87945396dc99c4a561 (patch)
tree0173d1e9bb942dd25c1ccc2404b573cdbde54c51 /sys-apps
parentFix by Jack Lloyd to handle .tbz and .tar.bz files #308855. (diff)
downloadgentoo-2-a14708bd5625442395069c87945396dc99c4a561.tar.gz
gentoo-2-a14708bd5625442395069c87945396dc99c4a561.tar.bz2
gentoo-2-a14708bd5625442395069c87945396dc99c4a561.zip
Version bump. Fixes #232041 #269734 #274436 #283574.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/grep/ChangeLog9
-rw-r--r--sys-apps/grep/grep-2.6.ebuild34
2 files changed, 41 insertions, 2 deletions
diff --git a/sys-apps/grep/ChangeLog b/sys-apps/grep/ChangeLog
index 44b8f26f7cd9..5d5c96ead976 100644
--- a/sys-apps/grep/ChangeLog
+++ b/sys-apps/grep/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/grep
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/ChangeLog,v 1.92 2009/10/22 16:32:40 loki_val Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/ChangeLog,v 1.93 2010/03/23 21:11:54 vapier Exp $
+
+*grep-2.6 (23 Mar 2010)
+
+ 23 Mar 2010; Mike Frysinger <vapier@gentoo.org> +grep-2.6.ebuild:
+ Version bump. Fixes #232041 #269734 #274436 #283574.
22 Oct 2009; Peter Alfredsen <loki_val@gentoo.org> -grep-2.5.1a-r1.ebuild,
-grep-2.5.3-r1.ebuild, -grep-2.5.4.ebuild:
diff --git a/sys-apps/grep/grep-2.6.ebuild b/sys-apps/grep/grep-2.6.ebuild
new file mode 100644
index 000000000000..60fbc2bc5c31
--- /dev/null
+++ b/sys-apps/grep/grep-2.6.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/grep-2.6.ebuild,v 1.1 2010/03/23 21:11:54 vapier Exp $
+
+EAPI="2"
+
+DESCRIPTION="GNU regular expression matcher"
+HOMEPAGE="http://www.gnu.org/software/grep/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
+ mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="nls pcre"
+
+RDEPEND="nls? ( virtual/libintl )
+ pcre? ( >=dev-libs/libpcre-7.8-r1 )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_configure() {
+ econf \
+ --bindir=/bin \
+ $(use_enable nls) \
+ $(use_enable pcre perl-regexp) \
+ $(use elibc_FreeBSD || echo --without-included-regex) \
+ || die "econf failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+}