diff options
author | Bradford Folkens (mobilfunk) <bfolkens@gmail.com> | 2007-07-18 21:45:37 +0000 |
---|---|---|
committer | Bradford Folkens (mobilfunk) <bfolkens@gmail.com> | 2007-07-18 21:45:37 +0000 |
commit | 1732338d53dc9c0d6e3fa850c2f06947f2a1ac73 (patch) | |
tree | 390a4f277e04558c8c874c630e5d25d2b894a696 /app-text | |
parent | media-libs/swfdec: Fix Manifest. (diff) | |
download | sunrise-1732338d53dc9c0d6e3fa850c2f06947f2a1ac73.tar.gz sunrise-1732338d53dc9c0d6e3fa850c2f06947f2a1ac73.tar.bz2 sunrise-1732338d53dc9c0d6e3fa850c2f06947f2a1ac73.zip |
app-text/ocropus-svn: Bug 185810 - Created new ebuild for OCRopus system at Google Code
svn path=/sunrise/; revision=4283
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/ocropus-svn/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/ocropus-svn/Manifest | 3 | ||||
-rw-r--r-- | app-text/ocropus-svn/files/digest-ocropus-svn-9999 | 0 | ||||
-rw-r--r-- | app-text/ocropus-svn/metadata.xml | 15 | ||||
-rw-r--r-- | app-text/ocropus-svn/ocropus-svn-9999.ebuild | 41 |
5 files changed, 67 insertions, 0 deletions
diff --git a/app-text/ocropus-svn/ChangeLog b/app-text/ocropus-svn/ChangeLog new file mode 100644 index 000000000..76de16c5c --- /dev/null +++ b/app-text/ocropus-svn/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-text/ocropus-svn +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 18 Jul 2007; Bradford Folkens (mobilfunk) <bfolkens@gmail.com> + +metadata.xml, +ocropus-svn-9999.ebuild: + Bug 185810 - Created new ebuild for OCRopus system at Google Code + diff --git a/app-text/ocropus-svn/Manifest b/app-text/ocropus-svn/Manifest new file mode 100644 index 000000000..470c642a3 --- /dev/null +++ b/app-text/ocropus-svn/Manifest @@ -0,0 +1,3 @@ +EBUILD ocropus-svn-9999.ebuild 742 RMD160 22c1599bac1dd9a241e17f4aaa62e61a02c703fa SHA1 91610312411d15bbe7b68771a5cf10c94a74613b SHA256 c03876337cf34e5a879a0daa9e76d904131b7a9c45efcc5e76f4b895532b6f1a +MISC ChangeLog 298 RMD160 f8a3da155a71d18d95ac3f04419d0bfe9722b9ac SHA1 3e88ddeeb56ca731fe13effca09064b1bd26ce4b SHA256 6b7b06517d645f0679e5aba6b76371a2045e0216fae7638d7eae3de43f77bad3 +MISC metadata.xml 509 RMD160 98c7c7039383677955d7bc5121bc60199eb660ca SHA1 02fd6b08e377aa221ea4ba063060923d948b9f37 SHA256 6eff6e61ceb8a90b228c9a65f1416e02209dd3c27a2717412f07348e1fd6ab21 diff --git a/app-text/ocropus-svn/files/digest-ocropus-svn-9999 b/app-text/ocropus-svn/files/digest-ocropus-svn-9999 new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/app-text/ocropus-svn/files/digest-ocropus-svn-9999 diff --git a/app-text/ocropus-svn/metadata.xml b/app-text/ocropus-svn/metadata.xml new file mode 100644 index 000000000..c3f00bd89 --- /dev/null +++ b/app-text/ocropus-svn/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>bfolkens@gmail.com</email> + <name>Bradford Folkens</name> +</maintainer> +<longdescription lang="en"> + OCRopus is a state-of-the-art document analysis and OCR system, featuring + pluggable layout analysis, pluggable character recognition, statistical + natural language modeling, and multi-lingual capabilities. +</longdescription> +</pkgmetadata> + diff --git a/app-text/ocropus-svn/ocropus-svn-9999.ebuild b/app-text/ocropus-svn/ocropus-svn-9999.ebuild new file mode 100644 index 000000000..b41ebd546 --- /dev/null +++ b/app-text/ocropus-svn/ocropus-svn-9999.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit subversion + +DESCRIPTION="OCRopus is a state-of-the-art document analysis and OCR system." +HOMEPAGE="http://code.google.com/p/ocropus/" + +ESVN_REPO_URI="http://ocropus.googlecode.com/svn/trunk" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="" +IUSE="" + +RDEPEND=">=app-text/tesseract-1.04b + app-text/aspell + media-libs/tiff + media-libs/libpng + media-libs/jpeg" +DEPEND="${RDEPEND} + dev-util/jam" + +src_compile() { + econf --with-tesseract=/usr + emake +} + +src_test() { + cd "${S}/testing" + ./test-compile + ./test-run || die "At least one test failed" +} + +src_install() { + dobin ocropus-cmd/ocropus + dodoc README DIRS +} + + |