Skip to content

Commit

Permalink
app-text/agrep: EAPI 6 bump.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.3
  • Loading branch information
monsieurp committed Feb 20, 2017
1 parent c785bdf commit fad01b3
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions app-text/agrep/agrep-2.04-r2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

inherit toolchain-funcs

DESCRIPTION="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/${PN}/${P}.tar.Z"

LICENSE="AGREP"
SLOT="0"
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~sparc-solaris"

RDEPEND="
!dev-libs/tre
!app-misc/glimpse"

DOCS=( README agrep.algorithms agrep.chronicle COPYRIGHT contribution.list )

src_compile() {
sed -i -e 's/^CFLAGS.*//' \
-e "s:\$(CFLAGS):& \$(LDFLAGS) :" Makefile || die
tc-export CC
emake
}

src_install() {
dobin "${PN}"
doman "${PN}.1"
einstalldocs
}

0 comments on commit fad01b3

Please sign in to comment.