wok annotate gocr/receipt @ rev 14976

Up: thunderbird-langpack-da (17.0.8esr)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 22:21:00 2013 +0200 (2013-08-08)
parents 278bc6a07e6b
children 7bb096863642
rev   line source
pascal@3728 1 # SliTaz package receipt.
pascal@3728 2
pascal@3728 3 PACKAGE="gocr"
gokhlayeh@7966 4 VERSION="0.49"
pascal@3728 5 CATEGORY="office"
pascal@3728 6 SHORT_DESC="Optical Character Recognition program."
pascal@3728 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@3728 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@3728 9 WEB_SITE="http://jocr.sourceforge.net/"
gokhlayeh@7966 10 WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL"
pascal@3728 11
pascal@14032 12 DEPENDS="libpng"
pascal@14032 13
pascal@3728 14 # Rules to configure and make the package.
pascal@3728 15 compile_rules()
pascal@3728 16 {
pascal@3728 17 cd $src
pascal@14032 18 sed -i 's/pnmtopng/pnm2png/' src/pnm.c
pascal@3728 19 ./configure --prefix=/usr \
pascal@3728 20 --mandir=/usr/share/man \
pascal@3728 21 $CONFIGURE_ARGS &&
pascal@3728 22 make &&
pascal@14032 23 make DESTDIR=$DESTDIR install
pascal@3728 24 }
pascal@3728 25
pascal@3728 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3728 27 genpkg_rules()
pascal@3728 28 {
pascal@3728 29 mkdir -p $fs/bin
pascal@14032 30 cp -a $install/bin/gocr $fs/bin
pascal@3728 31 }
pascal@3728 32