wok-6.x annotate gocr/receipt @ rev 15977
Up connman-dev (1.21)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Fri Feb 28 21:53:45 2014 +0100 (2014-02-28) |
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 |