# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/pdfgrep/pdfgrep-1.3.0.ebuild,v 1.6 2013/06/22 10:26:14 pinkbyte Exp $ EAPI=5 DESCRIPTION="A tool similar to grep which searches text in PDFs" HOMEPAGE="http://pdfgrep.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="amd64 x86" IUSE="unac" RDEPEND="app-text/poppler:=[cxx] unac? ( app-text/unac )" DEPEND="${RDEPEND} virtual/pkgconfig" src_configure() { econf $(use_with unac) }