Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 153823 Details for
Bug 223023
app-text/ocropus-9999 (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ocropus-9999.ebuild
ocropus-9999.ebuild (text/plain), 1.58 KB, created by
Stian Viskjer
on 2008-05-21 02:35:50 UTC
(
hide
)
Description:
ocropus-9999.ebuild
Filename:
MIME Type:
Creator:
Stian Viskjer
Created:
2008-05-21 02:35:50 UTC
Size:
1.58 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils subversion > >DESCRIPTION="The OCRopus(tm) open source document analysis and OCR system." >HOMEPAGE="http://www.ocropus.org/" >ESVN_REPO_URI="http://ocropus.googlecode.com/svn/trunk" > >LICENSE="Apache-2.0" >SLOT="0" >KEYWORDS="" >IUSE="disableocroscript disablesdl leptonica openfst spell interactive" > >DEPEND="openfst? ( media-libs/OpenFst ) > leptonica? ( media-libs/leptonlib ) > interactive? ( dev-libs/libedit ) > dev-util/ftjam > media-libs/libpng > media-libs/jpeg > media-libs/tiff > >=app-text/tesseract-2.00" >RDEPEND="spell? ( app-text/aspell )" > >src_unpack() { > subversion_src_unpack > cd "${S}" > epatch "${FILESDIR}/${P}-DESTDIR.patch" > grep "/usr/local" * -Rl > files_to_sed.tmp > while read file > do > sed -i 's/usr\/local/usr/g' $file > done < files_to_sed.tmp > rm -f files_to_sed.tmp >} > >src_compile() { > myconf="--with-tesseract=/usr --prefix=${D}/usr" > if use !openfst; then myconf="$myconf --without-fst"; fi > if use disableocroscript; then myconf="$myconf --without-ocroscript"; fi > if use disablesdl; then myconf="$myconf --without-SDL"; fi > if use !spell; then myconf="$myconf --without-aspell"; fi > myconf=${myconf# }; myconf=${myconf% }; > > econf $(use_with leptonica) $myconf || die "econf failed" > emake || die "emake failed" >} > >src_test() { > cd "${S}/testing" > ./test-compile || die "Tests failed to compile" > ./test-run || die "At least one test failed" >} > >src_install() { > mkdir -p "${D}/usr/share" > emake DESTDIR="${D}" install || die "install failed" > dodoc README CHANGES >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 223023
: 153823 |
153825