wok annotate gocr/receipt @ rev 13126
liblrdf: Add patches to support raptor 2.0.x and clean up.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Jul 04 22:13:34 2012 +0000 (2012-07-04) |
parents | df04a17046d6 |
children | 2b1eb1493f37 |
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 |