graphics/tesseract: Updated for version 5.0.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
b3deac1d3e
commit
bc9acb693c
|
@ -3,7 +3,7 @@
|
|||
|
||||
# Copyright 2009-2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
|
||||
# Copyright 2013-2015 LukenShiro, Italy
|
||||
# Copyright 2019 Logan Rathbone <poprocks@gmail.com>
|
||||
# Copyright 2019-2022 Logan Rathbone <poprocks@gmail.com>
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
|
@ -35,7 +35,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=tesseract
|
||||
VERSION=${VERSION:-4.1.1}
|
||||
VERSION=${VERSION:-5.0.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -129,9 +129,8 @@ 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
|
||||
# Don't ship .la files:
|
||||
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a $DOCFILES \
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
PRGNAM="tesseract"
|
||||
VERSION="4.1.1"
|
||||
VERSION="5.0.1"
|
||||
HOMEPAGE="https://github.com/tesseract-ocr"
|
||||
DOWNLOAD="https://github.com/tesseract-ocr/tesseract/archive/4.1.1/tesseract-4.1.1.tar.gz \
|
||||
https://github.com/tesseract-ocr/tessdata/raw/4.0.0/eng.traineddata"
|
||||
MD5SUM="51fe2bcbff1bbce77a25d180fd247f7d \
|
||||
DOWNLOAD="https://github.com/tesseract-ocr/tesseract/archive/5.0.1/tesseract-5.0.1.tar.gz \
|
||||
https://github.com/tesseract-ocr/tessdata/raw/4.1.0/eng.traineddata"
|
||||
MD5SUM="5b4e638bc01850278f9948938cfc390f \
|
||||
57e0df3d84fed9fbf8c7a8e589f8f012"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
|
|
Loading…
Reference in New Issue