diff options
Diffstat (limited to 'app-text/gocr/gocr-0.48.ebuild')
-rw-r--r-- | app-text/gocr/gocr-0.48.ebuild | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/app-text/gocr/gocr-0.48.ebuild b/app-text/gocr/gocr-0.48.ebuild deleted file mode 100644 index 7aceb2b06151..000000000000 --- a/app-text/gocr/gocr-0.48.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/gocr-0.48.ebuild,v 1.2 2010/06/11 19:29:29 aballier Exp $ - -EAPI=3 - -inherit base eutils - -DESCRIPTION="An OCR (Optical Character Recognition) reader" -HOMEPAGE="http://jocr.sourceforge.net" -SRC_URI="http://www-e.uni-magdeburg.de/jschulen/ocr/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="doc scanner tk" - -DEPEND=">=media-libs/netpbm-9.12 - doc? ( >=media-gfx/transfig-3.2 app-text/ghostscript-gpl ) - tk? ( dev-lang/tk )" -RDEPEND="${DEPEND} - tk? ( - media-gfx/xli - scanner? ( media-gfx/xsane ) - )" - -DOCS="AUTHORS BUGS CREDITS HISTORY RE* TODO" - -src_compile() { - local mymakes="src man" - - use doc && mymakes="${mymakes} doc examples" - - emake ${mymakes} || die "make ${mymakes} failed" -} - -src_install() { - emake DESTDIR="${D}" prefix="${EPREFIX}/usr" exec_prefix="${EPREFIX}/usr" install || die "make install failed" - # remove the tk frontend if tk is not selected - use tk || rm "${ED}"/usr/bin/gocr.tcl - # and install the documentation and examples - if use doc ; then - DOCS="${DOCS} doc/gocr.html doc/examples.txt doc/unicode.txt" - insinto /usr/share/doc/${PF}/examples - doins "${S}"/examples/*.{fig,tex,pcx} - fi - # and then install all the docs - dodoc ${DOCS} -} |