wok-6.x annotate idesk/receipt @ rev 12976

udev: we need /lib/udev/devices/shm in the minimal tree
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jun 01 22:53:36 2012 +0200 (2012-06-01)
parents
children de49f29b101e
rev   line source
pankso@10836 1 # SliTaz package receipt.
pankso@10836 2
pankso@10836 3 PACKAGE="idesk"
pankso@10836 4 VERSION="0.7.5"
pankso@10836 5 CATEGORY="x-window"
pankso@10836 6 SHORT_DESC="IDesk gives users icons on their desktop."
pankso@10836 7 MAINTAINER="pankso@slitaz.org"
pankso@10836 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@10836 9 WEB_SITE="http://idesk.sourceforge.net/"
pankso@10836 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@10836 11
pankso@10836 12 DEPENDS="imlib2 xorg-libXft"
pankso@10836 13 BUILD_DEPENDS="imlib2-dev xorg-libXft-dev"
pankso@10836 14
pankso@10836 15 # Rules to configure and make the package.
pankso@10836 16 compile_rules()
pankso@10836 17 {
pankso@10836 18 cd $src
pankso@10836 19 patch -p 0 < $stuff/DesktopConfig.patch || exit 1
pankso@10836 20 ./configure \
pankso@10836 21 --enable-xft \
pankso@10836 22 $CONFIGURE_ARGS &&
pankso@10836 23 make && make DESTDIR=$DESTDIR install
pankso@10836 24 }
pankso@10836 25
pankso@10836 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@10836 27 genpkg_rules()
pankso@10836 28 {
pankso@10836 29 mkdir -p $fs/usr/share
pankso@10836 30 cp -a $install/usr/bin $fs/usr
pankso@10836 31 cp -a $install/usr/share/idesk $fs/usr/share
pankso@10836 32 rm -f \
pankso@10836 33 $fs/usr/share/idesk/*.xpm \
pankso@10836 34 $fs/usr/share/idesk/*.lnk \
pankso@10836 35 $fs/usr/share/idesk/README
pankso@10836 36 # Custom default.lnk with Home icon
pankso@10836 37 cp -f $stuff/default.lnk $fs/usr/share/idesk
pankso@10836 38 }