wok-current view gocr/receipt @ rev 14548

firefox-langpack-zh_TW: Up to 17.0.6esr
author Dominique Corbex <domcox@slitaz.org>
date Wed May 22 21:57:06 2013 +0200 (2013-05-22)
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 }