wok-next rev 1340

mc: add menu entry
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 01 16:17:17 2008 +0000 (2008-09-01)
parents 3f49dc9f3e80
children e4688a3bbc50
files mc/receipt mc/stuff/mc.desktop
line diff
     1.1 --- a/mc/receipt	Sun Aug 31 16:20:22 2008 +0000
     1.2 +++ b/mc/receipt	Mon Sep 01 16:17:17 2008 +0000
     1.3 @@ -27,11 +27,12 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/usr/share/locale
     1.8 +	mkdir -p $fs/usr/share/locale $fs/usr/share/applications
     1.9  	cp -a $_pkg/usr/bin $fs/usr
    1.10  	cp -a $_pkg/usr/lib $fs/usr
    1.11  	cp -a $_pkg/usr/share/mc $fs/usr/share
    1.12  	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.13 +	cp stuff/mc.desktop $fs/usr/share/applications
    1.14  	strip -s $fs/usr/bin/*
    1.15  	strip -s $fs/usr/lib/mc/*
    1.16  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/mc/stuff/mc.desktop	Mon Sep 01 16:17:17 2008 +0000
     2.3 @@ -0,0 +1,7 @@
     2.4 +[Desktop Entry]
     2.5 +Encoding=UTF-8
     2.6 +Name=Midnight Commander
     2.7 +Exec=xterm -e '/usr/bin/mc'
     2.8 +Icon=computer.png
     2.9 +Type=Application
    2.10 +Categories=Utility;Terminal;