wok-next rev 14032

gocr: use pnm2png, not pnmtopng
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 18 11:06:24 2013 +0100 (2013-02-18)
parents 270d3266cef0
children f11e13545408
files gocr/receipt
line diff
     1.1 --- a/gocr/receipt	Mon Feb 18 10:42:11 2013 +0100
     1.2 +++ b/gocr/receipt	Mon Feb 18 11:06:24 2013 +0100
     1.3 @@ -9,21 +9,24 @@
     1.4  WEB_SITE="http://jocr.sourceforge.net/"
     1.5  WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL"
     1.6  
     1.7 +DEPENDS="libpng"
     1.8 +
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
    1.11  {
    1.12  	cd $src
    1.13 +	sed -i 's/pnmtopng/pnm2png/' src/pnm.c
    1.14  	./configure --prefix=/usr \
    1.15  	--mandir=/usr/share/man \
    1.16  	$CONFIGURE_ARGS &&
    1.17  	make &&
    1.18 -	make DESTDIR=$PWD/_pkg install
    1.19 +	make DESTDIR=$DESTDIR install
    1.20  }
    1.21  
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25  	mkdir -p $fs/bin
    1.26 -	cp -a $_pkg/bin/gocr $fs/bin
    1.27 +	cp -a $install/bin/gocr $fs/bin
    1.28  }
    1.29