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

x11vnc: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 18 10:50:13 2013 +0000 (2013-07-18)
parents 278bc6a07e6b
children 7bb096863642
line diff
     1.1 --- a/gocr/receipt	Mon Jan 17 17:24:19 2011 +0100
     1.2 +++ b/gocr/receipt	Thu Jul 18 10:50:13 2013 +0000
     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