wok-6.x diff gocr/receipt @ rev 21740

updated qjson and qjson-dev (0.8.1 -> 0.9.0)
author Hans-G?nter Theisgen
date Fri Jun 14 13:54:44 2019 +0100 (2019-06-14)
parents 0e0595f9d60c
children 370da83187ab
line diff
     1.1 --- a/gocr/receipt	Wed Apr 23 03:49:13 2014 +0200
     1.2 +++ b/gocr/receipt	Fri Jun 14 13:54:44 2019 +0100
     1.3 @@ -1,26 +1,29 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gocr"
     1.7 -VERSION="0.50"
     1.8 +VERSION="0.52"
     1.9  CATEGORY="office"
    1.10 +TAGS="OCR"
    1.11  SHORT_DESC="Optical Character Recognition program."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL"
    1.14 +WEB_SITE="http://jocr.sourceforge.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://jocr.sourceforge.net/"
    1.18  WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL"
    1.19 -HOST_ARCH="i486 arm"
    1.20  
    1.21  DEPENDS="libpng"
    1.22 +HOST_ARCH="i486 arm"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	sed -i 's/pnmtopng/pnm2png/' src/pnm.c
    1.28 -	./configure \
    1.29 -		--prefix=/usr \
    1.30 +	patch --input=$stuff/gocr-0.52-pnm.patch src/pnm.c
    1.31 +
    1.32 +	./configure		\
    1.33 +		--prefix=/usr	\
    1.34  		$CONFIGURE_ARGS &&
    1.35 -	make &&
    1.36 +	make -j 1 &&
    1.37  	make DESTDIR=$DESTDIR install
    1.38  }
    1.39  
    1.40 @@ -30,4 +33,3 @@
    1.41  	mkdir -p $fs/bin
    1.42  	cp -a $install/bin/gocr $fs/bin
    1.43  }
    1.44 -