wok-undigest rev 568

pysdm: add desktop entry
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 18 13:42:47 2011 +0100 (2011-11-18)
parents afef6bafca38
children 46ad9058f96c
files pysdm/receipt
line diff
     1.1 --- a/pysdm/receipt	Fri Nov 18 12:58:34 2011 +0100
     1.2 +++ b/pysdm/receipt	Fri Nov 18 13:42:47 2011 +0100
     1.3 @@ -6,7 +6,8 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://pysdm.sourceforge.net/"
     1.6  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     1.7 -DEPENDS="python"
     1.8 +
     1.9 +DEPENDS="pygtk"
    1.10  BUILD_DEPENDS="python python-dev"
    1.11  
    1.12  # Rules to configure and make the package.
    1.13 @@ -24,6 +25,16 @@
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {
    1.17 -	mkdir -p $fs
    1.18 +	mkdir -p $fs/usr/share/applications
    1.19  	cp -a $_pkg/usr $fs
    1.20 +	cat > $fs/usr/share/applications <<EOT
    1.21 +[Desktop Entry]
    1.22 +Name=Storage Device Manager
    1.23 +Comment=$SHORT_DESC
    1.24 +Categories=GNOME;Application;System;
    1.25 +Exec=pysdm
    1.26 +Type=Application
    1.27 +StartupNotify=true
    1.28 +Terminal=false
    1.29 +EOT
    1.30  }