wok annotate gocr/receipt @ rev 22556

updated bluez and bluez-dev again (4.101 -> 5.52)
author Hans-G?nter Theisgen
date Sat Jan 04 16:19:58 2020 +0100 (2020-01-04)
parents 0e0595f9d60c
children 370da83187ab
rev   line source
pascal@3728 1 # SliTaz package receipt.
pascal@3728 2
pascal@3728 3 PACKAGE="gocr"
Hans-G?nter@20987 4 VERSION="0.52"
pascal@3728 5 CATEGORY="office"
Hans-G?nter@20987 6 TAGS="OCR"
pascal@3728 7 SHORT_DESC="Optical Character Recognition program."
pascal@3728 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15215 9 LICENSE="GPL"
Hans-G?nter@20987 10 WEB_SITE="http://jocr.sourceforge.net/"
Hans-G?nter@20987 11
pascal@3728 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
gokhlayeh@7966 13 WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL"
pascal@3728 14
pascal@14032 15 DEPENDS="libpng"
Hans-G?nter@20987 16 HOST_ARCH="i486 arm"
pascal@14032 17
pascal@3728 18 # Rules to configure and make the package.
pascal@3728 19 compile_rules()
pascal@3728 20 {
Hans-G?nter@20987 21 patch --input=$stuff/gocr-0.52-pnm.patch src/pnm.c
Hans-G?nter@20987 22
Hans-G?nter@20987 23 ./configure \
Hans-G?nter@20987 24 --prefix=/usr \
pankso@16482 25 $CONFIGURE_ARGS &&
Hans-G?nter@20987 26 make -j 1 &&
pascal@14032 27 make DESTDIR=$DESTDIR install
pascal@3728 28 }
pascal@3728 29
pascal@3728 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3728 31 genpkg_rules()
pascal@3728 32 {
pascal@3728 33 mkdir -p $fs/bin
pascal@14032 34 cp -a $install/bin/gocr $fs/bin
pascal@3728 35 }