wok-current view tesseract-ocr/receipt @ rev 25077

updated openvswitch and openvswitch-dev (2.14.0 -> 2.17.1)
author Hans-G?nter Theisgen
date Wed Jun 15 14:50:09 2022 +0100 (2022-06-15)
parents 922f061231c2
children ffe30fb08ada
line source
1 # SliTaz package receipt.
3 PACKAGE="tesseract-ocr"
4 VERSION="3.02.02"
5 CATEGORY="office"
6 SHORT_DESC="The most accurate open source OCR engine available."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://github.com/tesseract-ocr/tesseract"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/tesseract-ocr/tesseract/archive/refs/tags/$VERSION.tar.gz"
13 DEPENDS="leptonica libpng jpeg tiff giflib"
14 BUILD_DEPENDS="libtool autoconf automake libpng-dev jpeg-dev tiff-dev \
15 giflib-dev zlib-dev icu-dev pango-dev cairo-dev leptonica-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share $fs/usr
40 rm -rf $fs/usr/share/man
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }