wok annotate gocr/receipt @ rev 6894
Fixed copying openjdk to source. Now it can be fully offline now. This good for source dvd.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 21 03:32:00 2010 +0000 (2010-10-21) |
parents | |
children | 278bc6a07e6b |
rev | line source |
---|---|
pascal@3728 | 1 # SliTaz package receipt. |
pascal@3728 | 2 |
pascal@3728 | 3 PACKAGE="gocr" |
pascal@3728 | 4 VERSION="0.47" |
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/" |
pascal@3728 | 10 WGET_URL="$SF_MIRROR/jocr/$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 |