wok-6.x diff idesk/receipt @ rev 13292
Up tinc (1.0.19)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 27 16:36:53 2012 +0200 (2012-08-27) |
parents | |
children | de49f29b101e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/idesk/receipt Mon Aug 27 16:36:53 2012 +0200 1.3 @@ -0,0 +1,38 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="idesk" 1.7 +VERSION="0.7.5" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="IDesk gives users icons on their desktop." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 +WEB_SITE="http://idesk.sourceforge.net/" 1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.14 + 1.15 +DEPENDS="imlib2 xorg-libXft" 1.16 +BUILD_DEPENDS="imlib2-dev xorg-libXft-dev" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + patch -p 0 < $stuff/DesktopConfig.patch || exit 1 1.23 + ./configure \ 1.24 + --enable-xft \ 1.25 + $CONFIGURE_ARGS && 1.26 + make && make DESTDIR=$DESTDIR install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/share 1.33 + cp -a $install/usr/bin $fs/usr 1.34 + cp -a $install/usr/share/idesk $fs/usr/share 1.35 + rm -f \ 1.36 + $fs/usr/share/idesk/*.xpm \ 1.37 + $fs/usr/share/idesk/*.lnk \ 1.38 + $fs/usr/share/idesk/README 1.39 + # Custom default.lnk with Home icon 1.40 + cp -f $stuff/default.lnk $fs/usr/share/idesk 1.41 +}