graphics/tesseract: Updated for version 4.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
f5ff088b0f
commit
5cf7b0b2ee
|
@ -3,6 +3,8 @@
|
||||||
|
|
||||||
# Copyright 2009-2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
|
# Copyright 2009-2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
|
||||||
# Copyright 2013-2015 LukenShiro, Italy
|
# Copyright 2013-2015 LukenShiro, Italy
|
||||||
|
# Copyright 2019 Logan Rathbone <poprocks@gmail.com>
|
||||||
|
#
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -31,7 +33,7 @@
|
||||||
# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
|
|
||||||
PRGNAM=tesseract
|
PRGNAM=tesseract
|
||||||
VERSION=${VERSION:-3.04.00}
|
VERSION=${VERSION:-4.1.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -62,7 +64,7 @@ else
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DOCFILES="AUTHORS COPYING ChangeLog INSTALL NEWS README ReleaseNotes"
|
DOCFILES="AUTHORS CONTRIBUTING.md ChangeLog LICENSE README.md"
|
||||||
# Language data files
|
# Language data files
|
||||||
# replace this with the 3-character ISO 639-2 language code of the language(s)
|
# replace this with the 3-character ISO 639-2 language code of the language(s)
|
||||||
# you want to install: different language data files can coexist nicely.
|
# you want to install: different language data files can coexist nicely.
|
||||||
|
@ -117,6 +119,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
|
||||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||||
|
|
||||||
|
# Uncomment when migrating to 15.0:
|
||||||
|
## Don't ship .la files:
|
||||||
|
#rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a $DOCFILES \
|
cp -a $DOCFILES \
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
PRGNAM="tesseract"
|
PRGNAM="tesseract"
|
||||||
VERSION="3.04.00"
|
VERSION="4.1.0"
|
||||||
HOMEPAGE="https://github.com/tesseract-ocr"
|
HOMEPAGE="https://github.com/tesseract-ocr"
|
||||||
DOWNLOAD="https://github.com/tesseract-ocr/tesseract/archive/3.04.00.tar.gz \
|
DOWNLOAD="https://github.com/tesseract-ocr/tesseract/archive/4.1.0/tesseract-4.1.0.tar.gz \
|
||||||
https://github.com/tesseract-ocr/tessdata/raw/3.04.00/eng.traineddata"
|
https://github.com/tesseract-ocr/tessdata/raw/4.0.0/eng.traineddata"
|
||||||
MD5SUM="078130b9c7d28c558a0e49d432505864 \
|
MD5SUM="88572a88fc757bc7b43ae81502f921a2 \
|
||||||
59a99c829aa385ae8cde35775e32e57f"
|
57e0df3d84fed9fbf8c7a8e589f8f012"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="leptonica"
|
REQUIRES="leptonica"
|
||||||
MAINTAINER="LukenShiro"
|
MAINTAINER="Logan Rathbone"
|
||||||
EMAIL="lukenshiro@ngi.it"
|
EMAIL="poprocks@gmail.com"
|
||||||
|
|
Loading…
Reference in New Issue