wok view gocr/receipt @ rev 14889
Up: python-httplib2 (0.8)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Wed Jul 24 19:02:34 2013 -0300 (2013-07-24) |
parents | 278bc6a07e6b |
children | 7bb096863642 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gocr"
4 VERSION="0.49"
5 CATEGORY="office"
6 SHORT_DESC="Optical Character Recognition program."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://jocr.sourceforge.net/"
10 WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL"
12 DEPENDS="libpng"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/pnmtopng/pnm2png/' src/pnm.c
19 ./configure --prefix=/usr \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/bin
30 cp -a $install/bin/gocr $fs/bin
31 }