wok-6.x view gocr/receipt @ rev 22272
updated xorg-xf86-video-i740 (1.3.4 -> 1.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 11:02:46 2019 +0100 (2019-11-13) |
parents | 0e0595f9d60c |
children | 370da83187ab |
line source
1 # SliTaz package receipt.
3 PACKAGE="gocr"
4 VERSION="0.52"
5 CATEGORY="office"
6 TAGS="OCR"
7 SHORT_DESC="Optical Character Recognition program."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="http://jocr.sourceforge.net/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL"
15 DEPENDS="libpng"
16 HOST_ARCH="i486 arm"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 patch --input=$stuff/gocr-0.52-pnm.patch src/pnm.c
23 ./configure \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make -j 1 &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/bin
34 cp -a $install/bin/gocr $fs/bin
35 }