wok-current annotate tesseract-ocr-lang-kor/receipt @ rev 24785

updated libspectre (0.2.7 -> 0.2.9)
author Hans-G?nter Theisgen
date Mon Mar 21 08:02:35 2022 +0100 (2022-03-21)
parents 8dd8bab3f0ca
children 0f92b8cc8086
rev   line source
pascal@18252 1 # SliTaz package receipt.
pascal@18252 2
pascal@18252 3 PACKAGE="tesseract-ocr-lang-kor"
pascal@18252 4 VERSION="3.02"
pascal@18252 5 CATEGORY="office"
pascal@18252 6 SHORT_DESC="Korean 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 }