wok-current annotate gocr/receipt @ rev 15265
Up cookutils (3.1.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 25 09:50:51 2013 +0000 (2013-09-25) |
parents | 2b1eb1493f37 |
children | 0e0595f9d60c |
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@15215 | 8 LICENSE="GPL" |
pascal@3728 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3728 | 10 WEB_SITE="http://jocr.sourceforge.net/" |
gokhlayeh@7966 | 11 WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL" |
pascal@3728 | 12 |
pascal@14032 | 13 DEPENDS="libpng" |
pascal@14032 | 14 |
pascal@3728 | 15 # Rules to configure and make the package. |
pascal@3728 | 16 compile_rules() |
pascal@3728 | 17 { |
pascal@3728 | 18 cd $src |
pascal@14032 | 19 sed -i 's/pnmtopng/pnm2png/' src/pnm.c |
pascal@3728 | 20 ./configure --prefix=/usr \ |
pascal@3728 | 21 --mandir=/usr/share/man \ |
pascal@3728 | 22 $CONFIGURE_ARGS && |
pascal@3728 | 23 make && |
pascal@14032 | 24 make DESTDIR=$DESTDIR install |
pascal@3728 | 25 } |
pascal@3728 | 26 |
pascal@3728 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3728 | 28 genpkg_rules() |
pascal@3728 | 29 { |
pascal@3728 | 30 mkdir -p $fs/bin |
pascal@14032 | 31 cp -a $install/bin/gocr $fs/bin |
pascal@3728 | 32 } |
pascal@3728 | 33 |