summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-08-16 06:05:17 +0000
committerMike Frysinger <vapier@gentoo.org>2007-08-16 06:05:17 +0000
commit1ffbf578efa41f587194eaabd9d3840a471813cd (patch)
tree9f6cd844fac4a15adaf7145adf52aa5cfa8692fc /sys-apps/grep
parentBump. Reads CNS maps, handles anisotropy better, other bugfixes and features. (diff)
downloadgentoo-2-1ffbf578efa41f587194eaabd9d3840a471813cd.tar.gz
gentoo-2-1ffbf578efa41f587194eaabd9d3840a471813cd.tar.bz2
gentoo-2-1ffbf578efa41f587194eaabd9d3840a471813cd.zip
Version bump #188948 by Tim Harder.
(Portage version: 2.1.3.5)
Diffstat (limited to 'sys-apps/grep')
-rw-r--r--sys-apps/grep/ChangeLog7
-rw-r--r--sys-apps/grep/files/digest-grep-2.5.33
-rw-r--r--sys-apps/grep/grep-2.5.3.ebuild40
3 files changed, 49 insertions, 1 deletions
diff --git a/sys-apps/grep/ChangeLog b/sys-apps/grep/ChangeLog
index 5cfd944d41f9..62a60c2ea066 100644
--- a/sys-apps/grep/ChangeLog
+++ b/sys-apps/grep/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/grep
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/ChangeLog,v 1.73 2007/03/14 10:50:40 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/ChangeLog,v 1.74 2007/08/16 06:05:17 vapier Exp $
+
+*grep-2.5.3 (16 Aug 2007)
+
+ 16 Aug 2007; Mike Frysinger <vapier@gentoo.org> +grep-2.5.3.ebuild:
+ Version bump #188948 by Tim Harder.
14 Mar 2007; Simon Stelling <blubb@gentoo.org> grep-2.5.1a-r1.ebuild:
stable on amd64; bug 170140
diff --git a/sys-apps/grep/files/digest-grep-2.5.3 b/sys-apps/grep/files/digest-grep-2.5.3
new file mode 100644
index 000000000000..7d18d564738c
--- /dev/null
+++ b/sys-apps/grep/files/digest-grep-2.5.3
@@ -0,0 +1,3 @@
+MD5 27061ce1fde82876970b6549a156da8b grep-2.5.3.tar.bz2 618184
+RMD160 dafa692fd67dfcd1c94115e9831d291b29fa7729 grep-2.5.3.tar.bz2 618184
+SHA256 d22dd8d626e557271aa555e7a06884a0114968845400ce1e7ab6f82b1f44b8fd grep-2.5.3.tar.bz2 618184
diff --git a/sys-apps/grep/grep-2.5.3.ebuild b/sys-apps/grep/grep-2.5.3.ebuild
new file mode 100644
index 000000000000..5d4cf4246f66
--- /dev/null
+++ b/sys-apps/grep/grep-2.5.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/grep-2.5.3.ebuild,v 1.1 2007/08/16 06:05:17 vapier Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="GNU regular expression matcher"
+HOMEPAGE="http://www.gnu.org/software/grep/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2
+ mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+# too many test failures -- once those get fixed, we'll ~arch
+KEYWORDS="" #~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="nls pcre static"
+
+RDEPEND="nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ pcre? ( dev-libs/libpcre )
+ nls? ( sys-devel/gettext )"
+
+src_compile() {
+ use static && append-ldflags -static
+
+ econf \
+ --bindir=/bin \
+ $(use_enable nls) \
+ $(use_enable pcre perl-regexp) \
+ || die "econf failed"
+
+ use static || sed -i 's:-lpcre:-Wl,-Bstatic -lpcre -Wl,-Bdynamic:g' src/Makefile
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+}