wok-stable view xsane/receipt @ rev 11810
Up: firefox (10.0.2) - Security fix (libpng integer overflow)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 25 17:17:49 2012 +0100 (2012-02-25) |
parents | ebf60d9a284d |
children | 9737ff602e80 |
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/applications
31 cp -a $stuff/xsane.desktop $fs/usr/share/applications
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/sane $fs/usr/share
34 rm -rf $fs/usr/share/sane/xsane/doc
35 }