wok-current view idesk/receipt @ rev 10918
udev: Use custom rules to have usb auto mount working
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Aug 03 21:46:06 2011 +0200 (2011-08-03) |
parents | |
children | de49f29b101e |
line source
1 # SliTaz package receipt.
3 PACKAGE="idesk"
4 VERSION="0.7.5"
5 CATEGORY="x-window"
6 SHORT_DESC="IDesk gives users icons on their desktop."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://idesk.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="imlib2 xorg-libXft"
13 BUILD_DEPENDS="imlib2-dev xorg-libXft-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -p 0 < $stuff/DesktopConfig.patch || exit 1
20 ./configure \
21 --enable-xft \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$DESTDIR 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 $install/usr/bin $fs/usr
31 cp -a $install/usr/share/idesk $fs/usr/share
32 rm -f \
33 $fs/usr/share/idesk/*.xpm \
34 $fs/usr/share/idesk/*.lnk \
35 $fs/usr/share/idesk/README
36 # Custom default.lnk with Home icon
37 cp -f $stuff/default.lnk $fs/usr/share/idesk
38 }