wok-current annotate tesseract-ocr/receipt @ rev 21516
updated nagvis and nagvis-doc (1.5.7 -> 1.9.11)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 03 13:39:55 2019 +0100 (2019-05-03) |
parents | af8a8f177c6c |
children | 922f061231c2 |
rev | line source |
---|---|
pascal@16668 | 1 # SliTaz package receipt. |
pascal@16668 | 2 |
pascal@16668 | 3 PACKAGE="tesseract-ocr" |
pascal@16668 | 4 VERSION="3.02.02" |
pascal@16668 | 5 CATEGORY="office" |
pascal@16668 | 6 SHORT_DESC="The most accurate open source OCR engine available." |
pascal@16668 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16668 | 8 LICENSE="Apache" |
pascal@20672 | 9 WEB_SITE="https://github.com/tesseract-ocr/tesseract" |
pascal@16668 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16668 | 11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" |
pascal@16668 | 12 |
pascal@16668 | 13 DEPENDS="leptonica libpng jpeg tiff giflib" |
pascal@16668 | 14 BUILD_DEPENDS="libtool autoconf automake libpng-dev jpeg-dev tiff-dev \ |
pascal@16668 | 15 giflib-dev zlib-dev icu-dev pango-dev cairo-dev leptonica-dev" |
pascal@16668 | 16 |
pascal@16668 | 17 # Rules to configure and make the package. |
pascal@16668 | 18 compile_rules() |
pascal@16668 | 19 { |
pascal@16668 | 20 ./autogen.sh |
pascal@16668 | 21 ./configure \ |
pascal@16668 | 22 --prefix=/usr \ |
pascal@16668 | 23 $CONFIGURE_ARGS && |
pascal@16668 | 24 make && make install |
pascal@16668 | 25 } |
pascal@16668 | 26 |
pascal@16668 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16668 | 28 genpkg_rules() |
pascal@16668 | 29 { |
pascal@16668 | 30 mkdir -p $fs/usr/lib |
pascal@16668 | 31 cp -a $install/usr/bin $fs/usr |
pascal@16668 | 32 cp -a $install/usr/share $fs/usr |
pascal@16668 | 33 rm -rf $fs/usr/share/man |
pascal@16668 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
psychomaniak@18352 | 35 } |