wok-next view gocr/receipt @ rev 20991

Update EDuke32, combine web apps
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 04 06:46:42 2018 +0300 (2018-10-04)
parents dd145c435e4b
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="gocr"
4 VERSION="0.50"
5 CATEGORY="office"
6 SHORT_DESC="Optical Character Recognition program."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://jocr.sourceforge.net/"
11 WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL"
13 DEPENDS="libpng16"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 sed -i 's/pnmtopng/pnm2png/' src/pnm.c
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/bin
30 cp -a $install/bin/gocr $fs/bin
31 }