wok-next 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 64897b237b59
children a1e4526c43b7
files gocr/receipt
line diff
     1.1 --- a/gocr/receipt	Tue Jun 30 16:37:05 2020 +0100
     1.2 +++ b/gocr/receipt	Tue Jun 30 16:40:28 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="gocr"
     1.7 -VERSION="0.50"
     1.8 +VERSION="0.52"
     1.9  CATEGORY="office"
    1.10  SHORT_DESC="Optical Character Recognition program"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -11,17 +11,19 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL"
    1.15  
    1.16 -compile_rules() {
    1.17 +compile_rules()
    1.18 +{
    1.19  	sed -i 's|pnmtopng|pnm2png|' src/pnm.c
    1.20  
    1.21 -	./configure \
    1.22 -		--prefix=/usr \
    1.23 +	./configure		\
    1.24 +		--prefix=/usr	\
    1.25  		$CONFIGURE_ARGS &&
    1.26  	make &&
    1.27  	make DESTDIR=$install install
    1.28  }
    1.29  
    1.30 -genpkg_rules() {
    1.31 +genpkg_rules()
    1.32 +{
    1.33  	copy @std
    1.34  	DEPENDS="libpng"
    1.35  }