wok-next view gocr/receipt @ rev 15653
Up wxWidgets (2.9.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 11 12:52:13 2013 +0100 (2013-12-11) |
parents | 2b1eb1493f37 |
children | 0e0595f9d60c |
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 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://jocr.sourceforge.net/"
11 WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL"
13 DEPENDS="libpng"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/pnmtopng/pnm2png/' src/pnm.c
20 ./configure --prefix=/usr \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/bin
31 cp -a $install/bin/gocr $fs/bin
32 }