wok-6.x view gocr/receipt @ rev 14226
liberation-fonts-base: fix url. Recook: freetype - package cooked but something wrong, freetype-dev fails; same with freetype-infinality(-dev). Add optional (?) website to fontconfig-infinality-yad.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Mar 21 19:21:00 2013 +0000 (2013-03-21) |
parents | 278bc6a07e6b |
children | 7bb096863642 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gocr"
4 VERSION="0.49"
5 CATEGORY="office"
6 SHORT_DESC="Optical Character Recognition program."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://jocr.sourceforge.net/"
10 WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL"
12 DEPENDS="libpng"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/pnmtopng/pnm2png/' src/pnm.c
19 ./configure --prefix=/usr \
20 --mandir=/usr/share/man \
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 }