graphics/tesseract: Updated for version 2.03
This commit is contained in:
parent
622a284b9a
commit
63d1cdd737
|
@ -7,13 +7,13 @@
|
||||||
|
|
||||||
|-----handy-ruler--------------------------------------------------|
|
|-----handy-ruler--------------------------------------------------|
|
||||||
tesseract: Tesseract (OCR Engine)
|
tesseract: Tesseract (OCR Engine)
|
||||||
tesseract:
|
tesseract:
|
||||||
tesseract: Tesseract is a commercial quality OCR engine originally developed
|
tesseract: Tesseract is a commercial quality OCR engine originally developed
|
||||||
tesseract: at HP between 1985 and 1995. In 1995, this engine was among the
|
tesseract: at HP between 1985 and 1995. In 1995, this engine was among the
|
||||||
tesseract: top 3 evaluated by UNLV. It was open-sourced by HP and UNLV in
|
tesseract: top 3 evaluated by UNLV. It was open-sourced by HP and UNLV in
|
||||||
tesseract: 2005.
|
tesseract: 2005.
|
||||||
tesseract:
|
tesseract:
|
||||||
tesseract: http://code.google.com/p/tesseract-ocr/
|
tesseract: http://code.google.com/p/tesseract-ocr/
|
||||||
tesseract:
|
tesseract:
|
||||||
tesseract:
|
tesseract:
|
||||||
tesseract:
|
tesseract:
|
||||||
|
|
|
@ -86,7 +86,8 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--disable-static
|
--disable-static \
|
||||||
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
|
@ -125,7 +126,7 @@ make install DESTDIR=$PKG
|
||||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
||||||
xargs strip --strip-unneeded 2> /dev/null || true
|
xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
|
||||||
xargs strip --strip-unneeded 2> /dev/null
|
xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
)
|
)
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
@ -142,4 +143,4 @@ mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
cd $PKG
|
cd $PKG
|
||||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||||
|
|
|
@ -3,6 +3,8 @@ VERSION="2.03"
|
||||||
HOMEPAGE="http://code.google.com/p/tesseract-ocr/"
|
HOMEPAGE="http://code.google.com/p/tesseract-ocr/"
|
||||||
DOWNLOAD="http://tesseract-ocr.googlecode.com/files/tesseract-2.03.tar.gz"
|
DOWNLOAD="http://tesseract-ocr.googlecode.com/files/tesseract-2.03.tar.gz"
|
||||||
MD5SUM="5777b70b11df16c1ac9aa155d7cfc553"
|
MD5SUM="5777b70b11df16c1ac9aa155d7cfc553"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Pierre Cazenave"
|
MAINTAINER="Pierre Cazenave"
|
||||||
EMAIL="pwcazenave <at> gmail {dot} com"
|
EMAIL="pwcazenave <at> gmail {dot} com"
|
||||||
APPROVED="dsomero,rworkman"
|
APPROVED="dsomero,rworkman"
|
||||||
|
|
Loading…
Reference in New Issue