wok-6.x diff gocr/receipt @ rev 14283
Add perl-fuse
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 06 15:49:36 2013 +0200 (2013-04-06) |
parents | 278bc6a07e6b |
children | 7bb096863642 |
line diff
1.1 --- a/gocr/receipt Mon Jan 17 17:24:19 2011 +0100 1.2 +++ b/gocr/receipt Sat Apr 06 15:49:36 2013 +0200 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