wok-stable view xsane/receipt @ rev 9784
tazchroot: fix to avoid clone each time (TARBALL must be set)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 11 23:32:39 2011 +0200 (2011-05-11) |
parents | 413b0174114a |
children | 19e4b0cb5caa |
line source
1 # SliTaz package receipt.
3 PACKAGE="xsane"
4 VERSION="0.998"
5 CATEGORY="office"
6 SHORT_DESC="XSane - graphical scanning frontend."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="sane-backends gtk+ tiff xorg-libXdamage lcms libv4l libtool"
9 BUILD_DEPENDS="gtk+-dev sane-backends-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.xsane.org/"
12 WGET_URL="http://www.xsane.org/download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/sane $fs/usr/share
32 rm -rf $fs/usr/share/sane/xsane/doc
33 }