wok-6.x diff gocr/receipt @ rev 23825
Up cryptsetup (2.3.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 28 13:19:51 2020 +0000 (2020-05-28) |
parents | 0e0595f9d60c |
children | 370da83187ab |
line diff
1.1 --- a/gocr/receipt Wed Apr 23 03:49:13 2014 +0200 1.2 +++ b/gocr/receipt Thu May 28 13:19:51 2020 +0000 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 -