# HG changeset patch # User Pascal Bellard # Date 1361181984 -3600 # Node ID 2b1eb1493f372d9d2493ab23e2cf1040c244bd75 # Parent 270d3266cef09d1cfa1754086627ab6caab1fe1c gocr: use pnm2png, not pnmtopng diff -r 270d3266cef0 -r 2b1eb1493f37 gocr/receipt --- a/gocr/receipt Mon Feb 18 10:42:11 2013 +0100 +++ b/gocr/receipt Mon Feb 18 11:06:24 2013 +0100 @@ -9,21 +9,24 @@ WEB_SITE="http://jocr.sourceforge.net/" WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL" +DEPENDS="libpng" + # Rules to configure and make the package. compile_rules() { cd $src + sed -i 's/pnmtopng/pnm2png/' src/pnm.c ./configure --prefix=/usr \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && - make DESTDIR=$PWD/_pkg install + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/bin - cp -a $_pkg/bin/gocr $fs/bin + cp -a $install/bin/gocr $fs/bin }