wok view tesseract-ocr-lang-ukr/receipt @ rev 24596

updated gftp (2.0.19 -> 2.9.1b)
author Hans-G?nter Theisgen
date Tue Mar 01 15:53:52 2022 +0100 (2022-03-01)
parents 8dd8bab3f0ca
children 0f92b8cc8086
line source
1 # SliTaz package receipt.
3 PACKAGE="tesseract-ocr-lang-ukr"
4 VERSION="3.02"
5 CATEGORY="office"
6 SHORT_DESC="Ukranian 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="http://tesseract-ocr.googlecode.com/files/$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 }