wok-current view tesseract-ocr-lang-heb/receipt @ rev 25204

updated python-mock (1.0.1 -> 3.0.5)
author Hans-G?nter Theisgen
date Wed Jul 13 14:28:15 2022 +0100 (2022-07-13)
parents 922f061231c2
children 9ffe036f25c8
line source
1 # SliTaz package receipt.
3 PACKAGE="tesseract-ocr-lang-heb"
4 VERSION="3.02"
5 CATEGORY="office"
6 SHORT_DESC="Hebrew language data for Tesseract OCR."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://github.com/tesseract-ocr/tessdata"
10 TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
13 DEPENDS="tesseract-ocr"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - $WEB_SITE/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share
26 cp -a $src/tessdata $fs/usr/share/
27 }