wok rev 17159

Add icewm-xdgmenu
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Sep 16 14:21:09 2014 +0200 (2014-09-16)
parents 631e4e76302c
children 3e7ad70145ce
files gnome-menus/receipt icewm-xdgmenu/receipt icewm-xdgmenu/stuff/menu
line diff
     1.1 --- a/gnome-menus/receipt	Tue Sep 16 09:58:23 2014 +0200
     1.2 +++ b/gnome-menus/receipt	Tue Sep 16 14:21:09 2014 +0200
     1.3 @@ -10,8 +10,9 @@
     1.4  WEB_SITE="http://www.gnome.org/"
     1.5  WGET_URL="http://ftp.gnome.org/pub/GNOME/desktop/${VERSION%.*}/$VERSION/sources/$TARBALL"
     1.6  
     1.7 -DEPENDS="python gamin glib libgio"
     1.8 +DEPENDS="glib libgio"
     1.9  BUILD_DEPENDS="intltool python-dev python glib-dev libgio-dev"
    1.10 +SUGGESTED="python gamin"
    1.11  
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/icewm-xdgmenu/receipt	Tue Sep 16 14:21:09 2014 +0200
     2.3 @@ -0,0 +1,41 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="icewm-xdgmenu"
     2.7 +VERSION="0.7.6"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="icewm App-Menu generator (pl/py-free version)"
    2.10 +MAINTAINER="psychomaniak@xakep.ru"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="http://bkhome.org/blog?viewDetailed=02680"
    2.13 +SOURCE="xdg_puppy-0.7.6-9.tar.bz2"
    2.14 +TARBALL=$SOURCE
    2.15 +WGET_URL="http://distro.ibiblio.org/puppylinux/sources/x/$TARBALL"
    2.16 +
    2.17 +DEPENDS="gnome-menus slitaz-menus icewm"
    2.18 +BUILD_DEPENDS="gnome-menus gnome-menus-dev"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +	cd $src/$PACKAGE
    2.24 +	sed -i 's|root0/.|usr/share/|g'	Makefile
    2.25 +	sed -i '/tar -/d' Makefile	&& make
    2.26 +	make PKGNAME=$install BINDIR=/usr/bin install
    2.27 +}
    2.28 +
    2.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.30 +genpkg_rules()
    2.31 +{
    2.32 +	cp -a $install/usr $fs
    2.33 +	cp -f $stuff/* $fs/usr/share/icewm
    2.34 +}
    2.35 +
    2.36 +post_install()
    2.37 +{
    2.38 +	ico="/usr/share/icons/SliTaz"
    2.39 +	IconPath="$ico/apps/22:/usr/share/pixmaps:$ico/categories/22:$ico/devices/22:$ico/mimetypes/32"
    2.40 +	pref="$1/usr/share/icewm/preferences"
    2.41 +	echo '	'>> $pref
    2.42 +	echo 'IconPath="'$IconPath'"'	>> $pref
    2.43 +	echo 'MenuMouseTracking=1'	>> $pref
    2.44 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/icewm-xdgmenu/stuff/menu	Tue Sep 16 14:21:09 2014 +0200
     3.3 @@ -0,0 +1,7 @@
     3.4 +menuprog "All Programs" slitaz-menu icewm-xdgmenu /etc/xdg/menus/applications.menu
     3.5 +prog terminal terminal terminal
     3.6 +prog Editor keyboard editor
     3.7 +prog wwwBrowser browser browser
     3.8 +prog Filemanager media-floppy file-manager
     3.9 +separator
    3.10 +menufile Tool_bar folder toolbar
    3.11 \ No newline at end of file