diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-03-31 16:47:20 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-03-31 16:47:20 +0000 |
commit | 585859ec33afd6b7e0b0e2392a9807f9379d335f (patch) | |
tree | 6d8ce986f3c4e2ab54d1088737e16ecba44a619e /app-text/gocr | |
parent | Stable for HPPA (bug #215541). (diff) | |
download | gentoo-2-585859ec33afd6b7e0b0e2392a9807f9379d335f.tar.gz gentoo-2-585859ec33afd6b7e0b0e2392a9807f9379d335f.tar.bz2 gentoo-2-585859ec33afd6b7e0b0e2392a9807f9379d335f.zip |
removed gtk1 version (unused)
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-text/gocr')
-rw-r--r-- | app-text/gocr/gocr-0.43.ebuild | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/app-text/gocr/gocr-0.43.ebuild b/app-text/gocr/gocr-0.43.ebuild deleted file mode 100644 index 21a06f01dbed..000000000000 --- a/app-text/gocr/gocr-0.43.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/gocr-0.43.ebuild,v 1.9 2007/07/04 03:45:13 tgall Exp $ - -inherit eutils - -DESCRIPTION="An OCR (Optical Character Recognition) reader" -HOMEPAGE="http://jocr.sourceforge.net" -SRC_URI="mirror://sourceforge/jocr/${P}.tar.gz" -LICENSE="GPL-2" - -IUSE="gtk doc tk" -SLOT="0" -KEYWORDS="~alpha amd64 ppc ppc64 sparc x86" - -DEPEND=">=media-libs/netpbm-9.12 - doc? ( >=media-gfx/transfig-3.2 ) - gtk? ( =x11-libs/gtk+-1* - media-gfx/imagemagick ) - tk? ( dev-lang/tk )" - -DOCS="AUTHORS BUGS CREDITS HISTORY RE* TODO" - -src_unpack() { - - unpack ${A} - - epatch "${FILESDIR}"/${P}-makefile.patch -} - -src_compile() { - - local mymakes="src man" - - use gtk && mymakes="${mymakes} frontend" - use doc && mymakes="${mymakes} doc examples" - - econf || die "econf failed" - make ${mymakes} || die "make ${mymakes} failed" - -} - -src_install() { - - make DESTDIR="${D}" prefix="/usr" exec_prefix="/usr" install || die "make install failed" - # remove the tk frontend if tk is not selected - use tk || rm "${D}"/usr/bin/gocr.tcl - # install the gtk frontend - use gtk && dobin "${S}"/frontend/gnome/src/gtk-ocr - # 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/${P}/examples - doins "${S}"/examples/*.{fig,tex,pcx} - fi - # and then install all the docs - dodoc ${DOCS} - -} |