diff options
author | Hanno Böck <hanno@gentoo.org> | 2009-07-19 15:28:14 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2009-07-19 15:28:14 +0000 |
commit | 14791f374cbaa473acf114d4921c3538903f1e8f (patch) | |
tree | 023ee1ecfb709b85aa10e8abefb2755109a0d4c3 /app-text/tesseract | |
parent | ppc stable #273704 (diff) | |
download | gentoo-2-14791f374cbaa473acf114d4921c3538903f1e8f.tar.gz gentoo-2-14791f374cbaa473acf114d4921c3538903f1e8f.tar.bz2 gentoo-2-14791f374cbaa473acf114d4921c3538903f1e8f.zip |
tesseract bump
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'app-text/tesseract')
-rw-r--r-- | app-text/tesseract/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/tesseract/tesseract-2.04.ebuild | 49 |
2 files changed, 55 insertions, 1 deletions
diff --git a/app-text/tesseract/ChangeLog b/app-text/tesseract/ChangeLog index 47999f2992f7..9f02ce59d5c0 100644 --- a/app-text/tesseract/ChangeLog +++ b/app-text/tesseract/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/tesseract # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/ChangeLog,v 1.19 2009/05/11 16:59:59 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/ChangeLog,v 1.20 2009/07/19 15:28:14 hanno Exp $ + +*tesseract-2.04 (19 Jul 2009) + + 19 Jul 2009; Hanno Boeck <hanno@gentoo.org> +tesseract-2.04.ebuild: + Version bump, removed some upstream-applied patches. 11 May 2009; Samuli Suominen <ssuominen@gentoo.org> tesseract-2.03.ebuild, +files/tesseract-2.03-gcc44.patch: diff --git a/app-text/tesseract/tesseract-2.04.ebuild b/app-text/tesseract/tesseract-2.04.ebuild new file mode 100644 index 000000000000..7bc215a8c6b4 --- /dev/null +++ b/app-text/tesseract/tesseract-2.04.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/tesseract-2.04.ebuild,v 1.1 2009/07/19 15:28:14 hanno Exp $ + +inherit eutils + +DESCRIPTION="A commercial quality OCR engine developed at HP in the 80's and early 90's." +HOMEPAGE="http://code.google.com/p/tesseract-ocr/" +SRC_URI="http://tesseract-ocr.googlecode.com/files/${P}.tar.gz + linguas_de? ( http://tesseract-ocr.googlecode.com/files/${PN}-2.00.deu.tar.gz ) + linguas_de_FR? ( http://tesseract-ocr.googlecode.com/files/${PN}-2.01.deu-f.tar.gz ) + linguas_en? ( http://tesseract-ocr.googlecode.com/files/${PN}-2.00.eng.tar.gz ) + linguas_fr? ( http://tesseract-ocr.googlecode.com/files/${PN}-2.00.fra.tar.gz ) + linguas_it? ( http://tesseract-ocr.googlecode.com/files/${PN}-2.00.ita.tar.gz ) + linguas_nl? ( http://tesseract-ocr.googlecode.com/files/${PN}-2.00.nld.tar.gz ) + linguas_es? ( http://tesseract-ocr.googlecode.com/files/${PN}-2.00.spa.tar.gz ) + linguas_pt? ( http://tesseract-ocr.googlecode.com/files/${PN}-2.01.por.tar.gz ) + linguas_vi? ( http://tesseract-ocr.googlecode.com/files/${PN}-2.01.vie.tar.gz )" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="tiff linguas_de linguas_de_FR linguas_en linguas_fr linguas_it linguas_nl \ +linguas_es linguas_pt linguas_vi" + +DEPEND="tiff? ( media-libs/tiff )" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Move language files + mv -f "${WORKDIR}"/tessdata/* tessdata/ + + # Remove obsolete makefile, install target only in uppercase Makefile + rm -f "${S}/java/makefile" +} + +src_compile() { + econf $(use_with tiff libtiff) || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + + dodoc README ReleaseNotes AUTHORS phototest.tif || die "dodoc failed" +} |