wok rev 25353

updated tesseract-ocr-lang packages (3.02 -> 4.1.0)
author Hans-G?nter Theisgen
date Tue Jul 26 14:33:11 2022 +0100 (2022-07-26)
parents a77e2ca5a843
children 90c2e9095591
files tesseract-ocr-lang-ara/receipt tesseract-ocr-lang-bul/receipt tesseract-ocr-lang-cat/receipt tesseract-ocr-lang-ces/receipt tesseract-ocr-lang-chi_sim/receipt tesseract-ocr-lang-chi_tra/receipt tesseract-ocr-lang-dan/receipt tesseract-ocr-lang-deu/receipt tesseract-ocr-lang-ell/receipt tesseract-ocr-lang-eng/receipt tesseract-ocr-lang-fin/receipt tesseract-ocr-lang-fra/receipt tesseract-ocr-lang-glg/receipt tesseract-ocr-lang-heb/receipt tesseract-ocr-lang-hin/receipt tesseract-ocr-lang-hrv/receipt tesseract-ocr-lang-hun/receipt tesseract-ocr-lang-ind/receipt tesseract-ocr-lang-isl/receipt tesseract-ocr-lang-jpn/receipt tesseract-ocr-lang-kor/receipt tesseract-ocr-lang-nld/receipt tesseract-ocr-lang-nor/receipt tesseract-ocr-lang-pol/receipt tesseract-ocr-lang-por/receipt tesseract-ocr-lang-ron/receipt tesseract-ocr-lang-rus/receipt tesseract-ocr-lang-slk/receipt tesseract-ocr-lang-slv/receipt tesseract-ocr-lang-spa/receipt tesseract-ocr-lang-srp/receipt tesseract-ocr-lang-swa/receipt tesseract-ocr-lang-tha/receipt tesseract-ocr-lang-tur/receipt tesseract-ocr-lang-ukr/receipt
line diff
     1.1 --- a/tesseract-ocr-lang-ara/receipt	Tue Jul 26 14:01:02 2022 +0100
     1.2 +++ b/tesseract-ocr-lang-ara/receipt	Tue Jul 26 14:33:11 2022 +0100
     1.3 @@ -1,27 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="tesseract-ocr-lang-ara"
     1.7 -VERSION="3.02"
     1.8 +VERSION="4.1.0"
     1.9  CATEGORY="office"
    1.10  SHORT_DESC="Arabic language data for Tesseract OCR."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="Apache"
    1.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
    1.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
    1.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
    1.16  
    1.17  DEPENDS="tesseract-ocr"
    1.18 -
    1.19 -# What is the latest version available today?
    1.20 -current_version()
    1.21 -{
    1.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
    1.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    1.24 -}
    1.25 +WANTED="tesseract-ocr-data"
    1.26  
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28  genpkg_rules()
    1.29  {
    1.30 -	mkdir -p $fs/usr/share
    1.31 -	cp -a $src/tessdata $fs/usr/share/
    1.32 +	mkdir -p $fs/usr/share/tessdata
    1.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
    1.34  }
     2.1 --- a/tesseract-ocr-lang-bul/receipt	Tue Jul 26 14:01:02 2022 +0100
     2.2 +++ b/tesseract-ocr-lang-bul/receipt	Tue Jul 26 14:33:11 2022 +0100
     2.3 @@ -1,27 +1,19 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="tesseract-ocr-lang-bul"
     2.7 -VERSION="3.02"
     2.8 +VERSION="4.1.0"
     2.9  CATEGORY="office"
    2.10  SHORT_DESC="Bulgarian language data for Tesseract OCR."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="Apache"
    2.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
    2.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
    2.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
    2.16  
    2.17  DEPENDS="tesseract-ocr"
    2.18 -
    2.19 -# What is the latest version available today?
    2.20 -current_version()
    2.21 -{
    2.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
    2.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    2.24 -}
    2.25 +WANTED="tesseract-ocr-data"
    2.26  
    2.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.28  genpkg_rules()
    2.29  {
    2.30 -	mkdir -p $fs/usr/share
    2.31 -	cp -a $src/tessdata $fs/usr/share/
    2.32 +	mkdir -p $fs/usr/share/tessdata
    2.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
    2.34  }
     3.1 --- a/tesseract-ocr-lang-cat/receipt	Tue Jul 26 14:01:02 2022 +0100
     3.2 +++ b/tesseract-ocr-lang-cat/receipt	Tue Jul 26 14:33:11 2022 +0100
     3.3 @@ -1,27 +1,19 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="tesseract-ocr-lang-cat"
     3.7 -VERSION="3.02"
     3.8 +VERSION="4.1.0"
     3.9  CATEGORY="office"
    3.10  SHORT_DESC="Catalan language data for Tesseract OCR."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
    3.12  LICENSE="Apache"
    3.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
    3.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
    3.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
    3.16  
    3.17  DEPENDS="tesseract-ocr"
    3.18 -
    3.19 -# What is the latest version available today?
    3.20 -current_version()
    3.21 -{
    3.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
    3.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    3.24 -}
    3.25 +WANTED="tesseract-ocr-data"
    3.26  
    3.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.28  genpkg_rules()
    3.29  {
    3.30 -	mkdir -p $fs/usr/share
    3.31 -	cp -a $src/tessdata $fs/usr/share/
    3.32 +	mkdir -p $fs/usr/share/tessdata
    3.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
    3.34  }
     4.1 --- a/tesseract-ocr-lang-ces/receipt	Tue Jul 26 14:01:02 2022 +0100
     4.2 +++ b/tesseract-ocr-lang-ces/receipt	Tue Jul 26 14:33:11 2022 +0100
     4.3 @@ -1,27 +1,19 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="tesseract-ocr-lang-ces"
     4.7 -VERSION="3.02"
     4.8 +VERSION="4.1.0"
     4.9  CATEGORY="office"
    4.10  SHORT_DESC="Czetch language data for Tesseract OCR."
    4.11  MAINTAINER="pascal.bellard@slitaz.org"
    4.12  LICENSE="Apache"
    4.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
    4.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
    4.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
    4.16  
    4.17  DEPENDS="tesseract-ocr"
    4.18 -
    4.19 -# What is the latest version available today?
    4.20 -current_version()
    4.21 -{
    4.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
    4.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    4.24 -}
    4.25 +WANTED="tesseract-ocr-data"
    4.26  
    4.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.28  genpkg_rules()
    4.29  {
    4.30 -	mkdir -p $fs/usr/share
    4.31 -	cp -a $src/tessdata $fs/usr/share/
    4.32 +	mkdir -p $fs/usr/share/tessdata
    4.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
    4.34  }
     5.1 --- a/tesseract-ocr-lang-chi_sim/receipt	Tue Jul 26 14:01:02 2022 +0100
     5.2 +++ b/tesseract-ocr-lang-chi_sim/receipt	Tue Jul 26 14:33:11 2022 +0100
     5.3 @@ -1,27 +1,19 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="tesseract-ocr-lang-chi_sim"
     5.7 -VERSION="3.02"
     5.8 +VERSION="4.1.0"
     5.9  CATEGORY="office"
    5.10  SHORT_DESC="Chinese (Simplified) language data for Tesseract OCR."
    5.11  MAINTAINER="pascal.bellard@slitaz.org"
    5.12  LICENSE="Apache"
    5.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
    5.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
    5.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
    5.16  
    5.17  DEPENDS="tesseract-ocr"
    5.18 -
    5.19 -# What is the latest version available today?
    5.20 -current_version()
    5.21 -{
    5.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
    5.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    5.24 -}
    5.25 +WANTED="tesseract-ocr-data"
    5.26  
    5.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.28  genpkg_rules()
    5.29  {
    5.30 -	mkdir -p $fs/usr/share
    5.31 -	cp -a $src/tessdata $fs/usr/share/
    5.32 +	mkdir -p $fs/usr/share/tessdata
    5.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
    5.34  }
     6.1 --- a/tesseract-ocr-lang-chi_tra/receipt	Tue Jul 26 14:01:02 2022 +0100
     6.2 +++ b/tesseract-ocr-lang-chi_tra/receipt	Tue Jul 26 14:33:11 2022 +0100
     6.3 @@ -1,27 +1,19 @@
     6.4  # SliTaz package receipt.
     6.5  
     6.6  PACKAGE="tesseract-ocr-lang-chi_tra"
     6.7 -VERSION="3.02"
     6.8 +VERSION="4.1.0"
     6.9  CATEGORY="office"
    6.10  SHORT_DESC="Chinese (Traditional) language data for Tesseract OCR."
    6.11  MAINTAINER="pascal.bellard@slitaz.org"
    6.12  LICENSE="Apache"
    6.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
    6.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
    6.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
    6.16  
    6.17  DEPENDS="tesseract-ocr"
    6.18 -
    6.19 -# What is the latest version available today?
    6.20 -current_version()
    6.21 -{
    6.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
    6.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    6.24 -}
    6.25 +WANTED="tesseract-ocr-data"
    6.26  
    6.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    6.28  genpkg_rules()
    6.29  {
    6.30 -	mkdir -p $fs/usr/share
    6.31 -	cp -a $src/tessdata $fs/usr/share/
    6.32 +	mkdir -p $fs/usr/share/tessdata
    6.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
    6.34  }
     7.1 --- a/tesseract-ocr-lang-dan/receipt	Tue Jul 26 14:01:02 2022 +0100
     7.2 +++ b/tesseract-ocr-lang-dan/receipt	Tue Jul 26 14:33:11 2022 +0100
     7.3 @@ -1,27 +1,19 @@
     7.4  # SliTaz package receipt.
     7.5  
     7.6  PACKAGE="tesseract-ocr-lang-dan"
     7.7 -VERSION="3.02"
     7.8 +VERSION="4.1.0"
     7.9  CATEGORY="office"
    7.10  SHORT_DESC="Danish language data for Tesseract OCR."
    7.11  MAINTAINER="pascal.bellard@slitaz.org"
    7.12  LICENSE="Apache"
    7.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
    7.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
    7.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
    7.16  
    7.17  DEPENDS="tesseract-ocr"
    7.18 -
    7.19 -# What is the latest version available today?
    7.20 -current_version()
    7.21 -{
    7.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
    7.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    7.24 -}
    7.25 +WANTED="tesseract-ocr-data"
    7.26  
    7.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    7.28  genpkg_rules()
    7.29  {
    7.30 -	mkdir -p $fs/usr/share
    7.31 -	cp -a $src/tessdata $fs/usr/share/
    7.32 +	mkdir -p $fs/usr/share/tessdata
    7.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
    7.34  }
     8.1 --- a/tesseract-ocr-lang-deu/receipt	Tue Jul 26 14:01:02 2022 +0100
     8.2 +++ b/tesseract-ocr-lang-deu/receipt	Tue Jul 26 14:33:11 2022 +0100
     8.3 @@ -1,27 +1,19 @@
     8.4  # SliTaz package receipt.
     8.5  
     8.6  PACKAGE="tesseract-ocr-lang-deu"
     8.7 -VERSION="3.02"
     8.8 +VERSION="4.1.0"
     8.9  CATEGORY="office"
    8.10  SHORT_DESC="German language data for Tesseract OCR."
    8.11  MAINTAINER="pascal.bellard@slitaz.org"
    8.12  LICENSE="Apache"
    8.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
    8.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
    8.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
    8.16  
    8.17  DEPENDS="tesseract-ocr"
    8.18 -
    8.19 -# What is the latest version available today?
    8.20 -current_version()
    8.21 -{
    8.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
    8.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    8.24 -}
    8.25 +WANTED="tesseract-ocr-data"
    8.26  
    8.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    8.28  genpkg_rules()
    8.29  {
    8.30 -	mkdir -p $fs/usr/share
    8.31 -	cp -a $src/tessdata $fs/usr/share/
    8.32 +	mkdir -p $fs/usr/share/tessdata
    8.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
    8.34  }
     9.1 --- a/tesseract-ocr-lang-ell/receipt	Tue Jul 26 14:01:02 2022 +0100
     9.2 +++ b/tesseract-ocr-lang-ell/receipt	Tue Jul 26 14:33:11 2022 +0100
     9.3 @@ -1,27 +1,19 @@
     9.4  # SliTaz package receipt.
     9.5  
     9.6  PACKAGE="tesseract-ocr-lang-ell"
     9.7 -VERSION="3.02"
     9.8 +VERSION="4.1.0"
     9.9  CATEGORY="office"
    9.10  SHORT_DESC="Greek language data for Tesseract OCR."
    9.11  MAINTAINER="pascal.bellard@slitaz.org"
    9.12  LICENSE="Apache"
    9.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
    9.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
    9.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
    9.16  
    9.17  DEPENDS="tesseract-ocr"
    9.18 -
    9.19 -# What is the latest version available today?
    9.20 -current_version()
    9.21 -{
    9.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
    9.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    9.24 -}
    9.25 +WANTED="tesseract-ocr-data"
    9.26  
    9.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    9.28  genpkg_rules()
    9.29  {
    9.30 -	mkdir -p $fs/usr/share
    9.31 -	cp -a $src/tessdata $fs/usr/share/
    9.32 +	mkdir -p $fs/usr/share/tessdata
    9.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
    9.34  }
    10.1 --- a/tesseract-ocr-lang-eng/receipt	Tue Jul 26 14:01:02 2022 +0100
    10.2 +++ b/tesseract-ocr-lang-eng/receipt	Tue Jul 26 14:33:11 2022 +0100
    10.3 @@ -1,27 +1,19 @@
    10.4  # SliTaz package receipt.
    10.5  
    10.6  PACKAGE="tesseract-ocr-lang-eng"
    10.7 -VERSION="3.02"
    10.8 +VERSION="4.1.0"
    10.9  CATEGORY="office"
   10.10  SHORT_DESC="English language data for Tesseract OCR."
   10.11  MAINTAINER="pascal.bellard@slitaz.org"
   10.12  LICENSE="Apache"
   10.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   10.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   10.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   10.16  
   10.17  DEPENDS="tesseract-ocr"
   10.18 -
   10.19 -# What is the latest version available today?
   10.20 -current_version()
   10.21 -{
   10.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   10.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   10.24 -}
   10.25 +WANTED="tesseract-ocr-data"
   10.26  
   10.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   10.28  genpkg_rules()
   10.29  {
   10.30 -	mkdir -p $fs/usr/share
   10.31 -	cp -a $src/tessdata $fs/usr/share/
   10.32 +	mkdir -p $fs/usr/share/tessdata
   10.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   10.34  }
    11.1 --- a/tesseract-ocr-lang-fin/receipt	Tue Jul 26 14:01:02 2022 +0100
    11.2 +++ b/tesseract-ocr-lang-fin/receipt	Tue Jul 26 14:33:11 2022 +0100
    11.3 @@ -1,27 +1,19 @@
    11.4  # SliTaz package receipt.
    11.5  
    11.6  PACKAGE="tesseract-ocr-lang-fin"
    11.7 -VERSION="3.02"
    11.8 +VERSION="4.1.0"
    11.9  CATEGORY="office"
   11.10  SHORT_DESC="Finnish language data for Tesseract OCR."
   11.11  MAINTAINER="pascal.bellard@slitaz.org"
   11.12  LICENSE="Apache"
   11.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   11.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   11.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   11.16  
   11.17  DEPENDS="tesseract-ocr"
   11.18 -
   11.19 -# What is the latest version available today?
   11.20 -current_version()
   11.21 -{
   11.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   11.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   11.24 -}
   11.25 +WANTED="tesseract-ocr-data"
   11.26  
   11.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   11.28  genpkg_rules()
   11.29  {
   11.30 -	mkdir -p $fs/usr/share
   11.31 -	cp -a $src/tessdata $fs/usr/share/
   11.32 +	mkdir -p $fs/usr/share/tessdata
   11.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   11.34  }
    12.1 --- a/tesseract-ocr-lang-fra/receipt	Tue Jul 26 14:01:02 2022 +0100
    12.2 +++ b/tesseract-ocr-lang-fra/receipt	Tue Jul 26 14:33:11 2022 +0100
    12.3 @@ -1,27 +1,19 @@
    12.4  # SliTaz package receipt.
    12.5  
    12.6  PACKAGE="tesseract-ocr-lang-fra"
    12.7 -VERSION="3.02"
    12.8 +VERSION="4.1.0"
    12.9  CATEGORY="office"
   12.10  SHORT_DESC="French language data for Tesseract OCR."
   12.11  MAINTAINER="pascal.bellard@slitaz.org"
   12.12  LICENSE="Apache"
   12.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   12.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   12.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   12.16  
   12.17  DEPENDS="tesseract-ocr"
   12.18 -
   12.19 -# What is the latest version available today?
   12.20 -current_version()
   12.21 -{
   12.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   12.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   12.24 -}
   12.25 +WANTED="tesseract-ocr-data"
   12.26  
   12.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   12.28  genpkg_rules()
   12.29  {
   12.30 -	mkdir -p $fs/usr/share
   12.31 -	cp -a $src/tessdata $fs/usr/share/
   12.32 +	mkdir -p $fs/usr/share/tessdata
   12.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   12.34  }
    13.1 --- a/tesseract-ocr-lang-glg/receipt	Tue Jul 26 14:01:02 2022 +0100
    13.2 +++ b/tesseract-ocr-lang-glg/receipt	Tue Jul 26 14:33:11 2022 +0100
    13.3 @@ -1,27 +1,19 @@
    13.4  # SliTaz package receipt.
    13.5  
    13.6  PACKAGE="tesseract-ocr-lang-glg"
    13.7 -VERSION="3.02"
    13.8 +VERSION="4.1.0"
    13.9  CATEGORY="office"
   13.10  SHORT_DESC="Galician language data for Tesseract OCR."
   13.11  MAINTAINER="pascal.bellard@slitaz.org"
   13.12  LICENSE="Apache"
   13.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   13.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   13.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   13.16  
   13.17  DEPENDS="tesseract-ocr"
   13.18 -
   13.19 -# What is the latest version available today?
   13.20 -current_version()
   13.21 -{
   13.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   13.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   13.24 -}
   13.25 +WANTED="tesseract-ocr-data"
   13.26  
   13.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   13.28  genpkg_rules()
   13.29  {
   13.30 -	mkdir -p $fs/usr/share
   13.31 -	cp -a $src/tessdata $fs/usr/share/
   13.32 +	mkdir -p $fs/usr/share/tessdata
   13.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   13.34  }
    14.1 --- a/tesseract-ocr-lang-heb/receipt	Tue Jul 26 14:01:02 2022 +0100
    14.2 +++ b/tesseract-ocr-lang-heb/receipt	Tue Jul 26 14:33:11 2022 +0100
    14.3 @@ -1,27 +1,19 @@
    14.4  # SliTaz package receipt.
    14.5  
    14.6  PACKAGE="tesseract-ocr-lang-heb"
    14.7 -VERSION="3.02"
    14.8 +VERSION="4.1.0"
    14.9  CATEGORY="office"
   14.10  SHORT_DESC="Hebrew language data for Tesseract OCR."
   14.11  MAINTAINER="pascal.bellard@slitaz.org"
   14.12  LICENSE="Apache"
   14.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   14.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   14.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   14.16  
   14.17  DEPENDS="tesseract-ocr"
   14.18 -
   14.19 -# What is the latest version available today?
   14.20 -current_version()
   14.21 -{
   14.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   14.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   14.24 -}
   14.25 +WANTED="tesseract-ocr-data"
   14.26  
   14.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   14.28  genpkg_rules()
   14.29  {
   14.30 -	mkdir -p $fs/usr/share
   14.31 -	cp -a $src/tessdata $fs/usr/share/
   14.32 +	mkdir -p $fs/usr/share/tessdata
   14.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   14.34  }
    15.1 --- a/tesseract-ocr-lang-hin/receipt	Tue Jul 26 14:01:02 2022 +0100
    15.2 +++ b/tesseract-ocr-lang-hin/receipt	Tue Jul 26 14:33:11 2022 +0100
    15.3 @@ -1,27 +1,19 @@
    15.4  # SliTaz package receipt.
    15.5  
    15.6  PACKAGE="tesseract-ocr-lang-hin"
    15.7 -VERSION="3.02"
    15.8 +VERSION="4.1.0"
    15.9  CATEGORY="office"
   15.10  SHORT_DESC="Hindi language data for Tesseract OCR."
   15.11  MAINTAINER="pascal.bellard@slitaz.org"
   15.12  LICENSE="Apache"
   15.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   15.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   15.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   15.16  
   15.17  DEPENDS="tesseract-ocr"
   15.18 -
   15.19 -# What is the latest version available today?
   15.20 -current_version()
   15.21 -{
   15.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   15.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   15.24 -}
   15.25 +WANTED="tesseract-ocr-data"
   15.26  
   15.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   15.28  genpkg_rules()
   15.29  {
   15.30 -	mkdir -p $fs/usr/share
   15.31 -	cp -a $src/tessdata $fs/usr/share/
   15.32 +	mkdir -p $fs/usr/share/tessdata
   15.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   15.34  }
    16.1 --- a/tesseract-ocr-lang-hrv/receipt	Tue Jul 26 14:01:02 2022 +0100
    16.2 +++ b/tesseract-ocr-lang-hrv/receipt	Tue Jul 26 14:33:11 2022 +0100
    16.3 @@ -1,27 +1,19 @@
    16.4  # SliTaz package receipt.
    16.5  
    16.6  PACKAGE="tesseract-ocr-lang-hrv"
    16.7 -VERSION="3.02"
    16.8 +VERSION="4.1.0"
    16.9  CATEGORY="office"
   16.10  SHORT_DESC="Croatian language data for Tesseract OCR."
   16.11  MAINTAINER="pascal.bellard@slitaz.org"
   16.12  LICENSE="Apache"
   16.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   16.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   16.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   16.16  
   16.17  DEPENDS="tesseract-ocr"
   16.18 -
   16.19 -# What is the latest version available today?
   16.20 -current_version()
   16.21 -{
   16.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   16.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   16.24 -}
   16.25 +WANTED="tesseract-ocr-data"
   16.26  
   16.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   16.28  genpkg_rules()
   16.29  {
   16.30 -	mkdir -p $fs/usr/share
   16.31 -	cp -a $src/tessdata $fs/usr/share/
   16.32 +	mkdir -p $fs/usr/share/tessdata
   16.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   16.34  }
    17.1 --- a/tesseract-ocr-lang-hun/receipt	Tue Jul 26 14:01:02 2022 +0100
    17.2 +++ b/tesseract-ocr-lang-hun/receipt	Tue Jul 26 14:33:11 2022 +0100
    17.3 @@ -1,27 +1,19 @@
    17.4  # SliTaz package receipt.
    17.5  
    17.6  PACKAGE="tesseract-ocr-lang-hun"
    17.7 -VERSION="3.02"
    17.8 +VERSION="4.1.0"
    17.9  CATEGORY="office"
   17.10  SHORT_DESC="Hungarian language data for Tesseract OCR."
   17.11  MAINTAINER="pascal.bellard@slitaz.org"
   17.12  LICENSE="Apache"
   17.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   17.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   17.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   17.16  
   17.17  DEPENDS="tesseract-ocr"
   17.18 -
   17.19 -# What is the latest version available today?
   17.20 -current_version()
   17.21 -{
   17.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   17.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   17.24 -}
   17.25 +WANTED="tesseract-ocr-data"
   17.26  
   17.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   17.28  genpkg_rules()
   17.29  {
   17.30 -	mkdir -p $fs/usr/share
   17.31 -	cp -a $src/tessdata $fs/usr/share/
   17.32 +	mkdir -p $fs/usr/share/tessdata
   17.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   17.34  }
    18.1 --- a/tesseract-ocr-lang-ind/receipt	Tue Jul 26 14:01:02 2022 +0100
    18.2 +++ b/tesseract-ocr-lang-ind/receipt	Tue Jul 26 14:33:11 2022 +0100
    18.3 @@ -1,27 +1,19 @@
    18.4  # SliTaz package receipt.
    18.5  
    18.6  PACKAGE="tesseract-ocr-lang-ind"
    18.7 -VERSION="3.02"
    18.8 +VERSION="4.1.0"
    18.9  CATEGORY="office"
   18.10  SHORT_DESC="Indonesian language data for Tesseract OCR."
   18.11  MAINTAINER="pascal.bellard@slitaz.org"
   18.12  LICENSE="Apache"
   18.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   18.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   18.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   18.16  
   18.17  DEPENDS="tesseract-ocr"
   18.18 -
   18.19 -# What is the latest version available today?
   18.20 -current_version()
   18.21 -{
   18.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   18.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   18.24 -}
   18.25 +WANTED="tesseract-ocr-data"
   18.26  
   18.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   18.28  genpkg_rules()
   18.29  {
   18.30 -	mkdir -p $fs/usr/share
   18.31 -	cp -a $src/tessdata $fs/usr/share/
   18.32 +	mkdir -p $fs/usr/share/tessdata
   18.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   18.34  }
    19.1 --- a/tesseract-ocr-lang-isl/receipt	Tue Jul 26 14:01:02 2022 +0100
    19.2 +++ b/tesseract-ocr-lang-isl/receipt	Tue Jul 26 14:33:11 2022 +0100
    19.3 @@ -1,27 +1,19 @@
    19.4  # SliTaz package receipt.
    19.5  
    19.6  PACKAGE="tesseract-ocr-lang-isl"
    19.7 -VERSION="3.02"
    19.8 +VERSION="4.1.0"
    19.9  CATEGORY="office"
   19.10  SHORT_DESC="Icelandic language data for Tesseract OCR."
   19.11  MAINTAINER="pascal.bellard@slitaz.org"
   19.12  LICENSE="Apache"
   19.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   19.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   19.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   19.16  
   19.17  DEPENDS="tesseract-ocr"
   19.18 -
   19.19 -# What is the latest version available today?
   19.20 -current_version()
   19.21 -{
   19.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   19.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   19.24 -}
   19.25 +WANTED="tesseract-ocr-data"
   19.26  
   19.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   19.28  genpkg_rules()
   19.29  {
   19.30 -	mkdir -p $fs/usr/share
   19.31 -	cp -a $src/tessdata $fs/usr/share/
   19.32 +	mkdir -p $fs/usr/share/tessdata
   19.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   19.34  }
    20.1 --- a/tesseract-ocr-lang-jpn/receipt	Tue Jul 26 14:01:02 2022 +0100
    20.2 +++ b/tesseract-ocr-lang-jpn/receipt	Tue Jul 26 14:33:11 2022 +0100
    20.3 @@ -1,27 +1,19 @@
    20.4  # SliTaz package receipt.
    20.5  
    20.6  PACKAGE="tesseract-ocr-lang-jpn"
    20.7 -VERSION="3.02"
    20.8 +VERSION="4.1.0"
    20.9  CATEGORY="office"
   20.10  SHORT_DESC="Japanese language data for Tesseract OCR."
   20.11  MAINTAINER="pascal.bellard@slitaz.org"
   20.12  LICENSE="Apache"
   20.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   20.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   20.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   20.16  
   20.17  DEPENDS="tesseract-ocr"
   20.18 -
   20.19 -# What is the latest version available today?
   20.20 -current_version()
   20.21 -{
   20.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   20.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   20.24 -}
   20.25 +WANTED="tesseract-ocr-data"
   20.26  
   20.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   20.28  genpkg_rules()
   20.29  {
   20.30 -	mkdir -p $fs/usr/share
   20.31 -	cp -a $src/tessdata $fs/usr/share/
   20.32 +	mkdir -p $fs/usr/share/tessdata
   20.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   20.34  }
    21.1 --- a/tesseract-ocr-lang-kor/receipt	Tue Jul 26 14:01:02 2022 +0100
    21.2 +++ b/tesseract-ocr-lang-kor/receipt	Tue Jul 26 14:33:11 2022 +0100
    21.3 @@ -1,27 +1,19 @@
    21.4  # SliTaz package receipt.
    21.5  
    21.6  PACKAGE="tesseract-ocr-lang-kor"
    21.7 -VERSION="3.02"
    21.8 +VERSION="4.1.0"
    21.9  CATEGORY="office"
   21.10  SHORT_DESC="Korean language data for Tesseract OCR."
   21.11  MAINTAINER="pascal.bellard@slitaz.org"
   21.12  LICENSE="Apache"
   21.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   21.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   21.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   21.16  
   21.17  DEPENDS="tesseract-ocr"
   21.18 -
   21.19 -# What is the latest version available today?
   21.20 -current_version()
   21.21 -{
   21.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   21.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   21.24 -}
   21.25 +WANTED="tesseract-ocr-data"
   21.26  
   21.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   21.28  genpkg_rules()
   21.29  {
   21.30 -	mkdir -p $fs/usr/share
   21.31 -	cp -a $src/tessdata $fs/usr/share/
   21.32 +	mkdir -p $fs/usr/share/tessdata
   21.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   21.34  }
    22.1 --- a/tesseract-ocr-lang-nld/receipt	Tue Jul 26 14:01:02 2022 +0100
    22.2 +++ b/tesseract-ocr-lang-nld/receipt	Tue Jul 26 14:33:11 2022 +0100
    22.3 @@ -1,27 +1,19 @@
    22.4  # SliTaz package receipt.
    22.5  
    22.6  PACKAGE="tesseract-ocr-lang-nld"
    22.7 -VERSION="3.02"
    22.8 +VERSION="4.1.0"
    22.9  CATEGORY="office"
   22.10  SHORT_DESC="Dutch language data for Tesseract OCR."
   22.11  MAINTAINER="pascal.bellard@slitaz.org"
   22.12  LICENSE="Apache"
   22.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   22.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   22.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   22.16  
   22.17  DEPENDS="tesseract-ocr"
   22.18 -
   22.19 -# What is the latest version available today?
   22.20 -current_version()
   22.21 -{
   22.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   22.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   22.24 -}
   22.25 +WANTED="tesseract-ocr-data"
   22.26  
   22.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   22.28  genpkg_rules()
   22.29  {
   22.30 -	mkdir -p $fs/usr/share
   22.31 -	cp -a $src/tessdata $fs/usr/share/
   22.32 +	mkdir -p $fs/usr/share/tessdata
   22.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   22.34  }
    23.1 --- a/tesseract-ocr-lang-nor/receipt	Tue Jul 26 14:01:02 2022 +0100
    23.2 +++ b/tesseract-ocr-lang-nor/receipt	Tue Jul 26 14:33:11 2022 +0100
    23.3 @@ -1,27 +1,19 @@
    23.4  # SliTaz package receipt.
    23.5  
    23.6  PACKAGE="tesseract-ocr-lang-nor"
    23.7 -VERSION="3.02"
    23.8 +VERSION="4.1.0"
    23.9  CATEGORY="office"
   23.10  SHORT_DESC="Norwegian language data for Tesseract OCR."
   23.11  MAINTAINER="pascal.bellard@slitaz.org"
   23.12  LICENSE="Apache"
   23.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   23.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   23.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   23.16  
   23.17  DEPENDS="tesseract-ocr"
   23.18 -
   23.19 -# What is the latest version available today?
   23.20 -current_version()
   23.21 -{
   23.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   23.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   23.24 -}
   23.25 +WANTED="tesseract-ocr-data"
   23.26  
   23.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   23.28  genpkg_rules()
   23.29  {
   23.30 -	mkdir -p $fs/usr/share
   23.31 -	cp -a $src/tessdata $fs/usr/share/
   23.32 +	mkdir -p $fs/usr/share/tessdata
   23.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   23.34  }
    24.1 --- a/tesseract-ocr-lang-pol/receipt	Tue Jul 26 14:01:02 2022 +0100
    24.2 +++ b/tesseract-ocr-lang-pol/receipt	Tue Jul 26 14:33:11 2022 +0100
    24.3 @@ -1,27 +1,19 @@
    24.4  # SliTaz package receipt.
    24.5  
    24.6  PACKAGE="tesseract-ocr-lang-pol"
    24.7 -VERSION="3.02"
    24.8 +VERSION="4.1.0"
    24.9  CATEGORY="office"
   24.10  SHORT_DESC="Polish language data for Tesseract OCR."
   24.11  MAINTAINER="pascal.bellard@slitaz.org"
   24.12  LICENSE="Apache"
   24.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   24.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   24.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   24.16  
   24.17  DEPENDS="tesseract-ocr"
   24.18 -
   24.19 -# What is the latest version available today?
   24.20 -current_version()
   24.21 -{
   24.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   24.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   24.24 -}
   24.25 +WANTED="tesseract-ocr-data"
   24.26  
   24.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   24.28  genpkg_rules()
   24.29  {
   24.30 -	mkdir -p $fs/usr/share
   24.31 -	cp -a $src/tessdata $fs/usr/share/
   24.32 +	mkdir -p $fs/usr/share/tessdata
   24.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   24.34  }
    25.1 --- a/tesseract-ocr-lang-por/receipt	Tue Jul 26 14:01:02 2022 +0100
    25.2 +++ b/tesseract-ocr-lang-por/receipt	Tue Jul 26 14:33:11 2022 +0100
    25.3 @@ -1,27 +1,19 @@
    25.4  # SliTaz package receipt.
    25.5  
    25.6  PACKAGE="tesseract-ocr-lang-por"
    25.7 -VERSION="3.02"
    25.8 +VERSION="4.1.0"
    25.9  CATEGORY="office"
   25.10  SHORT_DESC="Portuguese language data for Tesseract OCR."
   25.11  MAINTAINER="pascal.bellard@slitaz.org"
   25.12  LICENSE="Apache"
   25.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   25.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   25.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   25.16  
   25.17  DEPENDS="tesseract-ocr"
   25.18 -
   25.19 -# What is the latest version available today?
   25.20 -current_version()
   25.21 -{
   25.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   25.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   25.24 -}
   25.25 +WANTED="tesseract-ocr-data"
   25.26  
   25.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   25.28  genpkg_rules()
   25.29  {
   25.30 -	mkdir -p $fs/usr/share
   25.31 -	cp -a $src/tessdata $fs/usr/share/
   25.32 +	mkdir -p $fs/usr/share/tessdata
   25.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   25.34  }
    26.1 --- a/tesseract-ocr-lang-ron/receipt	Tue Jul 26 14:01:02 2022 +0100
    26.2 +++ b/tesseract-ocr-lang-ron/receipt	Tue Jul 26 14:33:11 2022 +0100
    26.3 @@ -1,27 +1,19 @@
    26.4  # SliTaz package receipt.
    26.5  
    26.6  PACKAGE="tesseract-ocr-lang-ron"
    26.7 -VERSION="3.02"
    26.8 +VERSION="4.1.0"
    26.9  CATEGORY="office"
   26.10  SHORT_DESC="Romanian language data for Tesseract OCR."
   26.11  MAINTAINER="pascal.bellard@slitaz.org"
   26.12  LICENSE="Apache"
   26.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   26.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   26.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   26.16  
   26.17  DEPENDS="tesseract-ocr"
   26.18 -
   26.19 -# What is the latest version available today?
   26.20 -current_version()
   26.21 -{
   26.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   26.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   26.24 -}
   26.25 +WANTED="tesseract-ocr-data"
   26.26  
   26.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   26.28  genpkg_rules()
   26.29  {
   26.30 -	mkdir -p $fs/usr/share
   26.31 -	cp -a $src/tessdata $fs/usr/share/
   26.32 +	mkdir -p $fs/usr/share/tessdata
   26.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   26.34  }
    27.1 --- a/tesseract-ocr-lang-rus/receipt	Tue Jul 26 14:01:02 2022 +0100
    27.2 +++ b/tesseract-ocr-lang-rus/receipt	Tue Jul 26 14:33:11 2022 +0100
    27.3 @@ -1,27 +1,19 @@
    27.4  # SliTaz package receipt.
    27.5  
    27.6  PACKAGE="tesseract-ocr-lang-rus"
    27.7 -VERSION="3.02"
    27.8 +VERSION="4.1.0"
    27.9  CATEGORY="office"
   27.10  SHORT_DESC="Russian language data for Tesseract OCR."
   27.11  MAINTAINER="pascal.bellard@slitaz.org"
   27.12  LICENSE="Apache"
   27.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   27.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   27.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   27.16  
   27.17  DEPENDS="tesseract-ocr"
   27.18 -
   27.19 -# What is the latest version available today?
   27.20 -current_version()
   27.21 -{
   27.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   27.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   27.24 -}
   27.25 +WANTED="tesseract-ocr-data"
   27.26  
   27.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   27.28  genpkg_rules()
   27.29  {
   27.30 -	mkdir -p $fs/usr/share
   27.31 -	cp -a $src/tessdata $fs/usr/share/
   27.32 +	mkdir -p $fs/usr/share/tessdata
   27.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   27.34  }
    28.1 --- a/tesseract-ocr-lang-slk/receipt	Tue Jul 26 14:01:02 2022 +0100
    28.2 +++ b/tesseract-ocr-lang-slk/receipt	Tue Jul 26 14:33:11 2022 +0100
    28.3 @@ -1,27 +1,19 @@
    28.4  # SliTaz package receipt.
    28.5  
    28.6  PACKAGE="tesseract-ocr-lang-slk"
    28.7 -VERSION="3.02"
    28.8 +VERSION="4.1.0"
    28.9  CATEGORY="office"
   28.10  SHORT_DESC="Slovakian language data for Tesseract OCR."
   28.11  MAINTAINER="pascal.bellard@slitaz.org"
   28.12  LICENSE="Apache"
   28.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   28.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   28.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   28.16  
   28.17  DEPENDS="tesseract-ocr"
   28.18 -
   28.19 -# What is the latest version available today?
   28.20 -current_version()
   28.21 -{
   28.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   28.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   28.24 -}
   28.25 +WANTED="tesseract-ocr-data"
   28.26  
   28.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   28.28  genpkg_rules()
   28.29  {
   28.30 -	mkdir -p $fs/usr/share
   28.31 -	cp -a $src/tessdata $fs/usr/share/
   28.32 +	mkdir -p $fs/usr/share/tessdata
   28.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   28.34  }
    29.1 --- a/tesseract-ocr-lang-slv/receipt	Tue Jul 26 14:01:02 2022 +0100
    29.2 +++ b/tesseract-ocr-lang-slv/receipt	Tue Jul 26 14:33:11 2022 +0100
    29.3 @@ -1,27 +1,19 @@
    29.4  # SliTaz package receipt.
    29.5  
    29.6  PACKAGE="tesseract-ocr-lang-slv"
    29.7 -VERSION="3.02"
    29.8 +VERSION="4.1.0"
    29.9  CATEGORY="office"
   29.10  SHORT_DESC="Slovenian language data for Tesseract OCR."
   29.11  MAINTAINER="pascal.bellard@slitaz.org"
   29.12  LICENSE="Apache"
   29.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   29.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   29.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   29.16  
   29.17  DEPENDS="tesseract-ocr"
   29.18 -
   29.19 -# What is the latest version available today?
   29.20 -current_version()
   29.21 -{
   29.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   29.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   29.24 -}
   29.25 +WANTED="tesseract-ocr-data"
   29.26  
   29.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   29.28  genpkg_rules()
   29.29  {
   29.30 -	mkdir -p $fs/usr/share
   29.31 -	cp -a $src/tessdata $fs/usr/share/
   29.32 +	mkdir -p $fs/usr/share/tessdata
   29.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   29.34  }
    30.1 --- a/tesseract-ocr-lang-spa/receipt	Tue Jul 26 14:01:02 2022 +0100
    30.2 +++ b/tesseract-ocr-lang-spa/receipt	Tue Jul 26 14:33:11 2022 +0100
    30.3 @@ -1,27 +1,19 @@
    30.4  # SliTaz package receipt.
    30.5  
    30.6  PACKAGE="tesseract-ocr-lang-spa"
    30.7 -VERSION="3.02"
    30.8 +VERSION="4.1.0"
    30.9  CATEGORY="office"
   30.10  SHORT_DESC="Spanish language data for Tesseract OCR."
   30.11  MAINTAINER="pascal.bellard@slitaz.org"
   30.12  LICENSE="Apache"
   30.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   30.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   30.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   30.16  
   30.17  DEPENDS="tesseract-ocr"
   30.18 -
   30.19 -# What is the latest version available today?
   30.20 -current_version()
   30.21 -{
   30.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   30.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   30.24 -}
   30.25 +WANTED="tesseract-ocr-data"
   30.26  
   30.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   30.28  genpkg_rules()
   30.29  {
   30.30 -	mkdir -p $fs/usr/share
   30.31 -	cp -a $src/tessdata $fs/usr/share/
   30.32 +	mkdir -p $fs/usr/share/tessdata
   30.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   30.34  }
    31.1 --- a/tesseract-ocr-lang-srp/receipt	Tue Jul 26 14:01:02 2022 +0100
    31.2 +++ b/tesseract-ocr-lang-srp/receipt	Tue Jul 26 14:33:11 2022 +0100
    31.3 @@ -1,27 +1,19 @@
    31.4  # SliTaz package receipt.
    31.5  
    31.6  PACKAGE="tesseract-ocr-lang-srp"
    31.7 -VERSION="3.02"
    31.8 +VERSION="4.1.0"
    31.9  CATEGORY="office"
   31.10  SHORT_DESC="Serbian language data for Tesseract OCR."
   31.11  MAINTAINER="pascal.bellard@slitaz.org"
   31.12  LICENSE="Apache"
   31.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   31.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   31.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   31.16  
   31.17  DEPENDS="tesseract-ocr"
   31.18 -
   31.19 -# What is the latest version available today?
   31.20 -current_version()
   31.21 -{
   31.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   31.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   31.24 -}
   31.25 +WANTED="tesseract-ocr-data"
   31.26  
   31.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   31.28  genpkg_rules()
   31.29  {
   31.30 -	mkdir -p $fs/usr/share
   31.31 -	cp -a $src/tessdata $fs/usr/share/
   31.32 +	mkdir -p $fs/usr/share/tessdata
   31.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   31.34  }
    32.1 --- a/tesseract-ocr-lang-swa/receipt	Tue Jul 26 14:01:02 2022 +0100
    32.2 +++ b/tesseract-ocr-lang-swa/receipt	Tue Jul 26 14:33:11 2022 +0100
    32.3 @@ -1,27 +1,19 @@
    32.4  # SliTaz package receipt.
    32.5  
    32.6  PACKAGE="tesseract-ocr-lang-swa"
    32.7 -VERSION="3.02"
    32.8 +VERSION="4.1.0"
    32.9  CATEGORY="office"
   32.10  SHORT_DESC="Swahili language data for Tesseract OCR."
   32.11  MAINTAINER="pascal.bellard@slitaz.org"
   32.12  LICENSE="Apache"
   32.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   32.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   32.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   32.16  
   32.17  DEPENDS="tesseract-ocr"
   32.18 -
   32.19 -# What is the latest version available today?
   32.20 -current_version()
   32.21 -{
   32.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   32.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   32.24 -}
   32.25 +WANTED="tesseract-ocr-data"
   32.26  
   32.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   32.28  genpkg_rules()
   32.29  {
   32.30 -	mkdir -p $fs/usr/share
   32.31 -	cp -a $src/tessdata $fs/usr/share/
   32.32 +	mkdir -p $fs/usr/share/tessdata
   32.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   32.34  }
    33.1 --- a/tesseract-ocr-lang-tha/receipt	Tue Jul 26 14:01:02 2022 +0100
    33.2 +++ b/tesseract-ocr-lang-tha/receipt	Tue Jul 26 14:33:11 2022 +0100
    33.3 @@ -1,27 +1,19 @@
    33.4  # SliTaz package receipt.
    33.5  
    33.6  PACKAGE="tesseract-ocr-lang-tha"
    33.7 -VERSION="3.02"
    33.8 +VERSION="4.1.0"
    33.9  CATEGORY="office"
   33.10  SHORT_DESC="Thai language data for Tesseract OCR."
   33.11  MAINTAINER="pascal.bellard@slitaz.org"
   33.12  LICENSE="Apache"
   33.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   33.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   33.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   33.16  
   33.17  DEPENDS="tesseract-ocr"
   33.18 -
   33.19 -# What is the latest version available today?
   33.20 -current_version()
   33.21 -{
   33.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   33.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   33.24 -}
   33.25 +WANTED="tesseract-ocr-data"
   33.26  
   33.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   33.28  genpkg_rules()
   33.29  {
   33.30 -	mkdir -p $fs/usr/share
   33.31 -	cp -a $src/tessdata $fs/usr/share/
   33.32 +	mkdir -p $fs/usr/share/tessdata
   33.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   33.34  }
    34.1 --- a/tesseract-ocr-lang-tur/receipt	Tue Jul 26 14:01:02 2022 +0100
    34.2 +++ b/tesseract-ocr-lang-tur/receipt	Tue Jul 26 14:33:11 2022 +0100
    34.3 @@ -1,27 +1,19 @@
    34.4  # SliTaz package receipt.
    34.5  
    34.6  PACKAGE="tesseract-ocr-lang-tur"
    34.7 -VERSION="3.02"
    34.8 +VERSION="4.1.0"
    34.9  CATEGORY="office"
   34.10  SHORT_DESC="Tukish language data for Tesseract OCR."
   34.11  MAINTAINER="pascal.bellard@slitaz.org"
   34.12  LICENSE="Apache"
   34.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   34.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   34.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   34.16  
   34.17  DEPENDS="tesseract-ocr"
   34.18 -
   34.19 -# What is the latest version available today?
   34.20 -current_version()
   34.21 -{
   34.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   34.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   34.24 -}
   34.25 +WANTED="tesseract-ocr-data"
   34.26  
   34.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   34.28  genpkg_rules()
   34.29  {
   34.30 -	mkdir -p $fs/usr/share
   34.31 -	cp -a $src/tessdata $fs/usr/share/
   34.32 +	mkdir -p $fs/usr/share/tessdata
   34.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   34.34  }
    35.1 --- a/tesseract-ocr-lang-ukr/receipt	Tue Jul 26 14:01:02 2022 +0100
    35.2 +++ b/tesseract-ocr-lang-ukr/receipt	Tue Jul 26 14:33:11 2022 +0100
    35.3 @@ -1,27 +1,19 @@
    35.4  # SliTaz package receipt.
    35.5  
    35.6  PACKAGE="tesseract-ocr-lang-ukr"
    35.7 -VERSION="3.02"
    35.8 +VERSION="4.1.0"
    35.9  CATEGORY="office"
   35.10  SHORT_DESC="Ukranian language data for Tesseract OCR."
   35.11  MAINTAINER="pascal.bellard@slitaz.org"
   35.12  LICENSE="Apache"
   35.13  WEB_SITE="https://github.com/tesseract-ocr/tessdata"
   35.14 -TARBALL="tesseract-ocr-$VERSION.${PACKAGE#*lang-}.tar.gz"
   35.15 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tesseract-ocr/$TARBALL"
   35.16  
   35.17  DEPENDS="tesseract-ocr"
   35.18 -
   35.19 -# What is the latest version available today?
   35.20 -current_version()
   35.21 -{
   35.22 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
   35.23 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   35.24 -}
   35.25 +WANTED="tesseract-ocr-data"
   35.26  
   35.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   35.28  genpkg_rules()
   35.29  {
   35.30 -	mkdir -p $fs/usr/share
   35.31 -	cp -a $src/tessdata $fs/usr/share/
   35.32 +	mkdir -p $fs/usr/share/tessdata
   35.33 +	cp -a $src/${PACKAGE##*-}*traineddata	/$fs/usr/share/tessdata
   35.34  }