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 2013-2015 LukenShiro, Italy
|
||||
# Copyright 2019 Logan Rathbone <poprocks@gmail.com>
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -31,7 +33,7 @@
|
|||
# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||
|
||||
PRGNAM=tesseract
|
||||
VERSION=${VERSION:-3.04.00}
|
||||
VERSION=${VERSION:-4.1.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -62,7 +64,7 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
DOCFILES="AUTHORS COPYING ChangeLog INSTALL NEWS README ReleaseNotes"
|
||||
DOCFILES="AUTHORS CONTRIBUTING.md ChangeLog LICENSE README.md"
|
||||
# Language data files
|
||||
# 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.
|
||||
|
@ -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 {} \;
|
||||
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
|
||||
cp -a $DOCFILES \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
PRGNAM="tesseract"
|
||||
VERSION="3.04.00"
|
||||
VERSION="4.1.0"
|
||||
HOMEPAGE="https://github.com/tesseract-ocr"
|
||||
DOWNLOAD="https://github.com/tesseract-ocr/tesseract/archive/3.04.00.tar.gz \
|
||||
https://github.com/tesseract-ocr/tessdata/raw/3.04.00/eng.traineddata"
|
||||
MD5SUM="078130b9c7d28c558a0e49d432505864 \
|
||||
59a99c829aa385ae8cde35775e32e57f"
|
||||
DOWNLOAD="https://github.com/tesseract-ocr/tesseract/archive/4.1.0/tesseract-4.1.0.tar.gz \
|
||||
https://github.com/tesseract-ocr/tessdata/raw/4.0.0/eng.traineddata"
|
||||
MD5SUM="88572a88fc757bc7b43ae81502f921a2 \
|
||||
57e0df3d84fed9fbf8c7a8e589f8f012"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="leptonica"
|
||||
MAINTAINER="LukenShiro"
|
||||
EMAIL="lukenshiro@ngi.it"
|
||||
MAINTAINER="Logan Rathbone"
|
||||
EMAIL="poprocks@gmail.com"
|
||||
|
|
Loading…
Reference in New Issue