wok-next annotate gocr/receipt @ rev 20663
Fix web site for the Shimmer Project themes
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 10 22:58:32 2018 +0300 (2018-05-10) |
parents | dd145c435e4b |
children | d5aab818505e |
rev | line source |
---|---|
pascal@3728 | 1 # SliTaz package receipt. |
pascal@3728 | 2 |
pascal@3728 | 3 PACKAGE="gocr" |
pankso@16482 | 4 VERSION="0.50" |
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 |
al@20454 | 13 DEPENDS="libpng16" |
pascal@14032 | 14 |
pascal@3728 | 15 # Rules to configure and make the package. |
pascal@3728 | 16 compile_rules() |
pascal@3728 | 17 { |
pascal@14032 | 18 sed -i 's/pnmtopng/pnm2png/' src/pnm.c |
pankso@16482 | 19 ./configure \ |
pankso@16482 | 20 --prefix=/usr \ |
pankso@16482 | 21 $CONFIGURE_ARGS && |
pascal@3728 | 22 make && |
pascal@14032 | 23 make DESTDIR=$DESTDIR install |
pascal@3728 | 24 } |
pascal@3728 | 25 |
pascal@3728 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3728 | 27 genpkg_rules() |
pascal@3728 | 28 { |
pascal@3728 | 29 mkdir -p $fs/bin |
pascal@14032 | 30 cp -a $install/bin/gocr $fs/bin |
pascal@3728 | 31 } |
pascal@3728 | 32 |