# HG changeset patch # User Hans-G?nter Theisgen # Date 1593531628 -3600 # Node ID 99b2ee64d6fcadde4ad360f06f3f53b4fd4f0791 # Parent 64897b237b597be9e0f54058d048aa120cdd7613 updated gocr (0.50 -> 0.52) diff -r 64897b237b59 -r 99b2ee64d6fc gocr/receipt --- a/gocr/receipt Tue Jun 30 16:37:05 2020 +0100 +++ b/gocr/receipt Tue Jun 30 16:40:28 2020 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="gocr" -VERSION="0.50" +VERSION="0.52" CATEGORY="office" SHORT_DESC="Optical Character Recognition program" MAINTAINER="pascal.bellard@slitaz.org" @@ -11,17 +11,19 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL" -compile_rules() { +compile_rules() +{ sed -i 's|pnmtopng|pnm2png|' src/pnm.c - ./configure \ - --prefix=/usr \ + ./configure \ + --prefix=/usr \ $CONFIGURE_ARGS && make && make DESTDIR=$install install } -genpkg_rules() { +genpkg_rules() +{ copy @std DEPENDS="libpng" }