wok-current view xsane/receipt @ rev 10042
bison: cross with CONFIGURE_ARGS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 20 09:00:11 2011 +0200 (2011-05-20) |
parents | 19e4b0cb5caa |
children | af9a1b47948c |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.xsane.org/"
10 WGET_URL="http://www.xsane.org/download/$TARBALL"
12 DEPENDS="sane-backends gtk+ tiff xorg-libXdamage lcms libv4l libltdl"
13 BUILD_DEPENDS="gtk+-dev sane-backends-dev lcms-dev "
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
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/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/sane $fs/usr/share
33 rm -rf $fs/usr/share/sane/xsane/doc
34 }