wok-current annotate tesseract-ocr-lang-tur/receipt @ rev 24393
updated calcurse (4.5.1 -> 4.7.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 08 09:44:59 2022 +0100 (2022-02-08) |
parents | 8dd8bab3f0ca |
children | 0f92b8cc8086 |
rev | line source |
---|---|
pascal@18252 | 1 # SliTaz package receipt. |
pascal@18252 | 2 |
pascal@18252 | 3 PACKAGE="tesseract-ocr-lang-tur" |
pascal@18252 | 4 VERSION="3.02" |
pascal@18252 | 5 CATEGORY="office" |
pascal@18252 | 6 SHORT_DESC="Tukish 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@18252 | 11 WGET_URL="http://tesseract-ocr.googlecode.com/files/$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 } |