# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/agrep/agrep-2.04.ebuild,v 1.12 2005/01/01 16:02:27 eradicator Exp $ 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="x86 sparc ~amd64 mips ppc64" IUSE="" DEPEND="virtual/libc" 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.*//' Makefile emake || die } src_install() { dobin agrep doman agrep.1 dodoc README agrep.algorithms agrep.chronicle COPYRIGHT \ contribution.list }