wok-current view gocr/receipt @ rev 7666
Moved Module.sysvers to Module.sysvers-modules. This is cause i think making linux-without-modules bzImage is was change that file. Removed /usr/src/linux in pre_remove function in linux-module-headers. Added /usr/src/linux soft link to post_install in linux-module-headers.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Dec 16 12:59:54 2010 +0000 (2010-12-16) |
parents | |
children | 278bc6a07e6b |
line source
1 # SliTaz package receipt.
3 PACKAGE="gocr"
4 VERSION="0.47"
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="$SF_MIRROR/jocr/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr \
17 --mandir=/usr/share/man \
18 $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/bin
27 cp -a $_pkg/bin/gocr $fs/bin
28 }