wok-6.x annotate gocr/receipt @ rev 18043

ppp: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 12 08:46:15 2015 +0200 (2015-05-12)
parents 7bb096863642
children 9b0b8482701d
rev   line source
pascal@3728 1 # SliTaz package receipt.
pascal@3728 2
pascal@3728 3 PACKAGE="gocr"
pankso@16482 4 VERSION="0.50"
pascal@3728 5 CATEGORY="office"
pascal@3728 6 SHORT_DESC="Optical Character Recognition program."
pascal@3728 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15215 8 LICENSE="GPL"
pascal@3728 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@3728 10 WEB_SITE="http://jocr.sourceforge.net/"
gokhlayeh@7966 11 WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL"
pankso@16482 12 HOST_ARCH="i486 arm"
pascal@3728 13
pascal@14032 14 DEPENDS="libpng"
pascal@14032 15
pascal@3728 16 # Rules to configure and make the package.
pascal@3728 17 compile_rules()
pascal@3728 18 {
pascal@14032 19 sed -i 's/pnmtopng/pnm2png/' src/pnm.c
pankso@16482 20 ./configure \
pankso@16482 21 --prefix=/usr \
pankso@16482 22 $CONFIGURE_ARGS &&
pascal@3728 23 make &&
pascal@14032 24 make DESTDIR=$DESTDIR install
pascal@3728 25 }
pascal@3728 26
pascal@3728 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3728 28 genpkg_rules()
pascal@3728 29 {
pascal@3728 30 mkdir -p $fs/bin
pascal@14032 31 cp -a $install/bin/gocr $fs/bin
pascal@3728 32 }
pascal@3728 33