wok-6.x diff gocr/receipt @ rev 18737
webalizer: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 21 23:42:26 2015 +0100 (2015-12-21) |
parents | 7bb096863642 |
children | 9b0b8482701d |
line diff
1.1 --- a/gocr/receipt Sat Sep 14 17:06:00 2013 +0000 1.2 +++ b/gocr/receipt Mon Dec 21 23:42:26 2015 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="gocr" 1.7 -VERSION="0.49" 1.8 +VERSION="0.50" 1.9 CATEGORY="office" 1.10 SHORT_DESC="Optical Character Recognition program." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -9,17 +9,17 @@ 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 WEB_SITE="http://jocr.sourceforge.net/" 1.15 WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL" 1.16 +HOST_ARCH="i486 arm" 1.17 1.18 DEPENDS="libpng" 1.19 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 { 1.23 - cd $src 1.24 sed -i 's/pnmtopng/pnm2png/' src/pnm.c 1.25 - ./configure --prefix=/usr \ 1.26 - --mandir=/usr/share/man \ 1.27 - $CONFIGURE_ARGS && 1.28 + ./configure \ 1.29 + --prefix=/usr \ 1.30 + $CONFIGURE_ARGS && 1.31 make && 1.32 make DESTDIR=$DESTDIR install 1.33 }