wok-next view xsane/receipt @ rev 13551

syslinux: update c32box/linux
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 02 10:44:52 2012 +0100 (2012-11-02)
parents 9737ff602e80
children 23c3aed67cd9
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 --disable-gimp \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
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 }