wok-next annotate gocr/receipt @ rev 20441

linux, linux-dev: fix mess with i386|i486, update 32bit config
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 05:41:11 2018 +0200 (2018-02-24)
parents 7bb096863642
children dd145c435e4b
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