wok view xsane/receipt @ rev 11623

amule, emelfm2, fpm2, gcolor2, gftp, grisbi; grsync, htop, hydrogen, kino, lingot, listpatron, lostirc, mitter, mplayer*, notecase, obconf, osmo, sakura, sylpheed, tilda, transmission, xine-ui, xsane: install .desktop file
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 24 22:51:41 2012 +0100 (2012-01-24)
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 }