wok annotate tesseract-ocr-lang-eng/receipt @ rev 24992

Up sip (4.19.25)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 14 18:19:29 2022 +0000 (2022-05-14)
parents 922f061231c2
children 9ffe036f25c8
rev   line source
pascal@18252 1 # SliTaz package receipt.
pascal@18252 2
pascal@18252 3 PACKAGE="tesseract-ocr-lang-eng"
pascal@18252 4 VERSION="3.02"
pascal@18252 5 CATEGORY="office"
pascal@18252 6 SHORT_DESC="English language data for Tesseract OCR."
pascal@18252 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18252 8 LICENSE="Apache"
pascal@20672 9 WEB_SITE="https://github.com/tesseract-ocr/tessdata"
pascal@18252 10 TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
pascal@24982 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
pascal@18252 12
pascal@18252 13 DEPENDS="tesseract-ocr"
pascal@18252 14
pascal@24304 15 # What is the latest version available today?
pascal@24304 16 current_version()
pascal@24304 17 {
pascal@24304 18 wget -O - $WEB_SITE/releases 2>/dev/null | \
pascal@24304 19 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24304 20 }
pascal@24304 21
pascal@18252 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18252 23 genpkg_rules()
pascal@18252 24 {
pascal@18252 25 mkdir -p $fs/usr/share
pascal@18253 26 cp -a $src/tessdata $fs/usr/share/
pascal@18252 27 }