wok view gocr/receipt @ rev 16918
Up glibmm glibmm-dev (2.40.0) to reflect glib version
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Thu Jul 17 11:41:17 2014 -0300 (2014-07-17) |
parents | 7bb096863642 |
children | 9b0b8482701d |
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"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libpng"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's/pnmtopng/pnm2png/' src/pnm.c
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/bin
31 cp -a $install/bin/gocr $fs/bin
32 }