0
0
Fork 0
haikuports/app-text/gocr/gocr-0.50.recipe

50 lines
1.1 KiB
Bash

SUMMARY="An OCR (Optical Character Recognition) reader"
DESCRIPTION="
It converts scanned images of text back to text files. Joerg Schulenburg \
started the program, and now leads a team of developers.
GOCR can be used with different front-ends, which makes it very easy to port \
to different OSes and architectures. It can open many different image \
formats, and its quality have been improving in a daily basis."
HOMEPAGE="http://jocr.sofrceforge.net"
COPYRIGHT="2000-2013 Joerg Schulenburg"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://www-e.uni-magdeburg.de/jschulen/ocr/gocr-$portVersion.tar.gz"
CHECKSUM_SHA256="bc261244f887419cba6d962ec1ad58eefd77176885093c4a43061e7fd565f5b5"
PATCHES="gocr-0.50.patchset"
ARCHITECTURES="?all x86_gcc2"
PROVIDES="
$portName = $portVersion
cmd:gocr
cmd:gocr.tcl
"
REQUIRES="
haiku
"
BUILD_PREREQUIRES="
haiku_devel
cmd:aclocal
cmd:autoconf
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:make
"
BUILD()
{
libtoolize --force --copy --install
aclocal
autoconf
runConfigure configure
make
}
INSTALL()
{
make install DESTDIR=${DESTDIR}
}