summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2019-11-12 20:45:24 -0500
committerAaron Bauman <bman@gentoo.org>2019-11-12 21:10:18 -0500
commit9965ea2cb693c6698b99aa854ea4c842f52d9ac8 (patch)
treeb1e3c35fa5ad7acfecdf57295722032926000837 /app-text/gocr
parentapp-text/docx2txt: drop old EAPI (diff)
downloadgentoo-9965ea2cb693c6698b99aa854ea4c842f52d9ac8.tar.gz
gentoo-9965ea2cb693c6698b99aa854ea4c842f52d9ac8.tar.bz2
gentoo-9965ea2cb693c6698b99aa854ea4c842f52d9ac8.zip
app-text/gocr: drop old
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'app-text/gocr')
-rw-r--r--app-text/gocr/gocr-0.49.ebuild45
1 files changed, 0 insertions, 45 deletions
diff --git a/app-text/gocr/gocr-0.49.ebuild b/app-text/gocr/gocr-0.49.ebuild
deleted file mode 100644
index 88b3005d5a37..000000000000
--- a/app-text/gocr/gocr-0.49.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-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 )
- )"
-
-src_compile() {
- local mymakes="src man"
-
- use doc && mymakes="${mymakes} doc examples"
-
- emake ${mymakes}
-}
-
-src_install() {
- emake DESTDIR="${D}" prefix="${EPREFIX}/usr" exec_prefix="${EPREFIX}/usr" install
- dodoc AUTHORS BUGS CREDITS HISTORY RE* TODO
-
- # 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
- dodoc doc/gocr.html doc/examples.txt doc/unicode.txt
- insinto /usr/share/doc/${PF}/examples
- doins "${S}"/examples/*.{fig,tex,pcx}
- docompress -x /usr/share/doc/${PF}/examples
- fi
-}