wok-6.x annotate tesseract-ocr-lang-dan/receipt @ rev 24783

Up apache-ant (1.10.12)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 20 12:11:06 2022 +0000 (2022-03-20)
parents 8dd8bab3f0ca
children 0f92b8cc8086
rev   line source
pascal@18252 1 # SliTaz package receipt.
pascal@18252 2
pascal@18252 3 PACKAGE="tesseract-ocr-lang-dan"
pascal@18252 4 VERSION="3.02"
pascal@18252 5 CATEGORY="office"
pascal@18252 6 SHORT_DESC="Danish 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 }