wok-current view tesseract-ocr/receipt @ rev 20775
updated cdrdao (1.2.3 -> 1.2.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 13 17:33:03 2019 +0100 (2019-02-13) |
parents | af8a8f177c6c |
children | 922f061231c2 |
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="https://github.com/tesseract-ocr/tesseract"
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 }