wok-6.x view tesseract-ocr/receipt @ rev 19112

Deprecate "murrine" package, use "gtk2-engine-murrine" instead.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 07 04:49:28 2016 +0300 (2016-05-07)
parents 8417cbe6fdae
children 8dd8bab3f0ca
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="http://code.google.com/p/tesseract-ocr/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./autogen.sh
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share $fs/usr
33 rm -rf $fs/usr/share/man
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }