wok-stable annotate gocr/receipt @ rev 9502
Up: wordpress to 3.1.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Apr 05 21:58:06 2011 +0000 (2011-04-05) |
parents | df04a17046d6 |
children |
rev | line source |
---|---|
pascal@3728 | 1 # SliTaz package receipt. |
pascal@3728 | 2 |
pascal@3728 | 3 PACKAGE="gocr" |
gokhlayeh@7966 | 4 VERSION="0.49" |
pascal@3728 | 5 CATEGORY="office" |
pascal@3728 | 6 SHORT_DESC="Optical Character Recognition program." |
pascal@3728 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@3728 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3728 | 9 WEB_SITE="http://jocr.sourceforge.net/" |
gokhlayeh@7966 | 10 WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL" |
pascal@3728 | 11 |
pascal@3728 | 12 # Rules to configure and make the package. |
pascal@3728 | 13 compile_rules() |
pascal@3728 | 14 { |
pascal@3728 | 15 cd $src |
pascal@3728 | 16 ./configure --prefix=/usr \ |
pascal@3728 | 17 --mandir=/usr/share/man \ |
pascal@3728 | 18 $CONFIGURE_ARGS && |
pascal@3728 | 19 make && |
pascal@3728 | 20 make DESTDIR=$PWD/_pkg install |
pascal@3728 | 21 } |
pascal@3728 | 22 |
pascal@3728 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3728 | 24 genpkg_rules() |
pascal@3728 | 25 { |
pascal@3728 | 26 mkdir -p $fs/bin |
pascal@3728 | 27 cp -a $_pkg/bin/gocr $fs/bin |
pascal@3728 | 28 } |
pascal@3728 | 29 |