wok annotate gocr/receipt @ rev 4384
Up: phpmyadmin(3.2.2.1)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Oct 14 14:11:45 2009 +0000 (2009-10-14) |
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 |