wok view tesseract-ocr/receipt @ rev 17776

notecase: enable gtksourceview support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 14 13:26:37 2015 +0100 (2015-03-14)
parents
children 8417cbe6fdae
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 }