wok-current view tesseract-ocr/receipt @ rev 18351
Rebuild packages that depends on giflib & nettle (ldd fail)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Sep 12 15:52:07 2015 +0200 (2015-09-12) |
parents | 6c17a312c269 |
children | af8a8f177c6c |
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 }