summaryrefslogtreecommitdiff
path: root/app-text/clara/clara-20031214-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
commitde49812990871e1705b64051c35161d5e6400269 (patch)
tree5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /app-text/clara/clara-20031214-r1.ebuild
parent536c3711867ec947c1738f2c4b96f22e4863322d (diff)
gentoo resync : 24.12.2018
Diffstat (limited to 'app-text/clara/clara-20031214-r1.ebuild')
-rw-r--r--app-text/clara/clara-20031214-r1.ebuild54
1 files changed, 0 insertions, 54 deletions
diff --git a/app-text/clara/clara-20031214-r1.ebuild b/app-text/clara/clara-20031214-r1.ebuild
deleted file mode 100644
index 758415dfd6af..000000000000
--- a/app-text/clara/clara-20031214-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="An OCR (Optical Character Recognition) program"
-SRC_URI="mirror://gentoo/${P}.tar.gz"
-HOMEPAGE="http://www.claraocr.org/"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~x86 ~ppc-macos ~sparc-solaris"
-IUSE=""
-
-RDEPEND="x11-libs/libX11"
-DEPEND="${RDEPEND}"
-
-# The test provided by clara doesn't seem to make any sense. It just
-# calls the binary with an unsupported option, which results in an
-# error.
-RESTRICT="test"
-
-src_prepare() {
- sed -i -re "s/(C|LD)FLAGS =/\1FLAGS +=/" Makefile
- epatch "${FILESDIR}/${PN}_open_mode.patch"
- epatch "${FILESDIR}/${P}-debian-vararg.patch"
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" || die
- emake doc || die
-}
-
-src_install() {
- dobin ${PN} selthresh
- doman doc/${PN}*.1 selthresh.1
-
- dodoc ANNOUNCE CHANGELOG doc/FAQ
- insinto /usr/share/doc/${P}
- doins imre.pbm
-
- dohtml doc/*.html
-}
-
-pkg_postinst() {
- elog
- elog "Please note that Clara OCR has to be trained to recognize text,"
- elog "without a training session it simply won't work. Have a look at"
- elog "the docs in /usr/share/doc/${P}/html/ to get more "
- elog "info about the training procedure."
- elog
-}