summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-08-13 20:02:07 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-08-13 20:02:07 +0000
commit88caf605de6e5768dfd048a88ca9e7def1b58782 (patch)
treec62cd8620768ce5f737a72b2cbb323182c23cae4 /app-text
parentAdd patch to respect LDFLAGS. Bug #332115. Thanks to Diego E. 'Flameeyes' Pet... (diff)
downloadgentoo-2-88caf605de6e5768dfd048a88ca9e7def1b58782.tar.gz
gentoo-2-88caf605de6e5768dfd048a88ca9e7def1b58782.tar.bz2
gentoo-2-88caf605de6e5768dfd048a88ca9e7def1b58782.zip
Respect LDFLAGS. Bug #332283. Thanks to Diego E. 'Flameeyes' Pettenò <flameeyes@gentoo.org> for reporting
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/agrep/ChangeLog8
-rw-r--r--app-text/agrep/agrep-2.04-r1.ebuild33
2 files changed, 40 insertions, 1 deletions
diff --git a/app-text/agrep/ChangeLog b/app-text/agrep/ChangeLog
index c71ec645d6b9..d5f36b3bce69 100644
--- a/app-text/agrep/ChangeLog
+++ b/app-text/agrep/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/agrep
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/agrep/ChangeLog,v 1.23 2010/01/02 10:52:53 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/agrep/ChangeLog,v 1.24 2010/08/13 20:02:07 hwoarang Exp $
+
+*agrep-2.04-r1 (13 Aug 2010)
+
+ 13 Aug 2010; Markos Chandras <hwoarang@gentoo.org> +agrep-2.04-r1.ebuild:
+ Respect LDFLAGS. Bug #332283. Thanks to Diego E. 'Flameeyes' Pettenò
+ <flameeyes@gentoo.org> for reporting
02 Jan 2010; Christian Faulhammer <fauli@gentoo.org> agrep-2.04.ebuild:
Transfer Prefix keywords
diff --git a/app-text/agrep/agrep-2.04-r1.ebuild b/app-text/agrep/agrep-2.04-r1.ebuild
new file mode 100644
index 000000000000..790577d44b66
--- /dev/null
+++ b/app-text/agrep/agrep-2.04-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/agrep/agrep-2.04-r1.ebuild,v 1.1 2010/08/13 20:02:07 hwoarang Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="agrep is a tool for the fast searching of text allowing for errors in the search pattern."
+HOMEPAGE="ftp://ftp.cs.arizona.edu/agrep/README"
+SRC_URI="ftp://ftp.cs.arizona.edu/agrep/${P}.tar.Z"
+
+LICENSE="AGREP"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~sparc-solaris"
+IUSE=""
+
+DEPEND=""
+RDEPEND="!dev-libs/tre
+ !app-misc/glimpse"
+
+src_compile() {
+ # Remove first occurace of CFLAGS so we grab the user CFLAGS
+ sed -i -e 's/^CFLAGS.*//' \
+ -e "s:\$(CFLAGS):& \$(LDFLAGS) :" Makefile
+ tc-export CC
+ emake || die
+}
+
+src_install() {
+ dobin agrep
+ doman agrep.1
+ dodoc README agrep.algorithms agrep.chronicle COPYRIGHT \
+ contribution.list
+}