wok-next view gocr/receipt @ rev 5234
dhcp: add init script
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 08 17:22:33 2010 +0200 (2010-04-08) |
parents | |
children | 278bc6a07e6b |
line source
1 # SliTaz package receipt.
3 PACKAGE="gocr"
4 VERSION="0.47"
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="$SF_MIRROR/jocr/$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 }