wok-current annotate tesseract-ocr/receipt @ rev 18640
Up tazpkg(876), cookutils(779); change post_install() in pango, slitaz-boot-scripts, syslinux, tazwikiss
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 30 01:53:13 2015 +0200 (2015-11-30) |
parents | 8417cbe6fdae |
children | 8dd8bab3f0ca |
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@16668 | 9 WEB_SITE="http://code.google.com/p/tesseract-ocr/" |
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 } |