wok-next view gocr/receipt @ rev 11659
xfe, Improve receipt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Feb 12 22:40:16 2012 +0100 (2012-02-12) |
parents | df04a17046d6 |
children | 2b1eb1493f37 |
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 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr \
17 --mandir=/usr/share/man \
18 $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/bin
27 cp -a $_pkg/bin/gocr $fs/bin
28 }