1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="OCRopus is a state-of-the-art document analysis and OCR system."
8 HOMEPAGE="http://code.google.com/p/ocropus/"
10 ESVN_REPO_URI="http://ocropus.googlecode.com/svn/trunk"
17 RDEPEND=">=app-text/tesseract-1.04b
26 econf --with-tesseract=/usr || die "econf failed"
27 emake || die "emake failed"
32 ./test-compile || die "Tests failed to compile"
33 ./test-run || die "At least one test failed"
37 dobin ocropus-cmd/ocropus