wok-next view tesseract/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | 5669e8b3be70 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tesseract"
4 VERSION="3.05.02"
5 CATEGORY="office"
6 SHORT_DESC="The most accurate open source OCR engine available"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache2"
9 WEB_SITE="https://github.com/tesseract-ocr/tesseract"
10 REPOLOGY="tesseract-ocr"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/tesseract-ocr/tesseract/archive/$VERSION.tar.gz"
15 BUILD_DEPENDS="libtool autoconf automake libpng-dev libjpeg-turbo-dev \
16 tiff-dev giflib-dev zlib-dev icu-dev pango-dev cairo-dev leptonica-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 ./autogen.sh
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 tesseract)
30 copy @std
31 DEPENDS="leptonica libpng libjpeg-turbo libtiff giflib"
32 ;;
33 *-dev)
34 copy @dev
35 ;;
36 esac
37 }