wok-next annotate gocr/receipt @ rev 21697

updated gocr (0.50 -> 0.52)
author Hans-G?nter Theisgen
date Tue Jun 30 16:40:28 2020 +0100 (2020-06-30)
parents 5669e8b3be70
children
rev   line source
al@21020 1 # SliTaz package receipt v2.
pascal@3728 2
pascal@3728 3 PACKAGE="gocr"
Hans-G?nter@21697 4 VERSION="0.52"
pascal@3728 5 CATEGORY="office"
al@21020 6 SHORT_DESC="Optical Character Recognition program"
pascal@3728 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15215 8 LICENSE="GPL"
al@21020 9 WEB_SITE="http://jocr.sourceforge.net/"
al@21020 10
pascal@3728 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
gokhlayeh@7966 12 WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL"
pascal@3728 13
Hans-G?nter@21697 14 compile_rules()
Hans-G?nter@21697 15 {
al@21020 16 sed -i 's|pnmtopng|pnm2png|' src/pnm.c
pascal@14032 17
Hans-G?nter@21697 18 ./configure \
Hans-G?nter@21697 19 --prefix=/usr \
pankso@16482 20 $CONFIGURE_ARGS &&
pascal@3728 21 make &&
al@21020 22 make DESTDIR=$install install
pascal@3728 23 }
pascal@3728 24
Hans-G?nter@21697 25 genpkg_rules()
Hans-G?nter@21697 26 {
al@21020 27 copy @std
al@21078 28 DEPENDS="libpng"
pascal@3728 29 }