wok-6.x view gocr/receipt @ rev 22033
Add fs-uae
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Oct 21 10:33:44 2019 +0300 (2019-10-21) |
parents | 0e0595f9d60c |
children | 370da83187ab |
line source
1 # SliTaz package receipt.
3 PACKAGE="gocr"
4 VERSION="0.52"
5 CATEGORY="office"
6 TAGS="OCR"
7 SHORT_DESC="Optical Character Recognition program."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="http://jocr.sourceforge.net/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL"
15 DEPENDS="libpng"
16 HOST_ARCH="i486 arm"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 patch --input=$stuff/gocr-0.52-pnm.patch src/pnm.c
23 ./configure \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make -j 1 &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/bin
34 cp -a $install/bin/gocr $fs/bin
35 }