wok diff icewm-xdgmenu/receipt @ rev 18502

Add mozo
author Yuri Pourre <yuripourre@gmail.com>
date Sat Oct 17 12:08:31 2015 -0300 (2015-10-17)
parents
children e3f377fbc5f0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/icewm-xdgmenu/receipt	Sat Oct 17 12:08:31 2015 -0300
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="icewm-xdgmenu"
     1.7 +VERSION="0.7.6"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="icewm App-Menu generator (pl/py-free version)"
    1.10 +MAINTAINER="psychomaniak@xakep.ru"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="http://bkhome.org/blog?viewDetailed=02680"
    1.13 +SOURCE="xdg_puppy-0.7.6-9.tar.bz2"
    1.14 +TARBALL=$SOURCE
    1.15 +WGET_URL="http://distro.ibiblio.org/puppylinux/sources/x/$TARBALL"
    1.16 +
    1.17 +DEPENDS="gnome-menus slitaz-menus icewm"
    1.18 +BUILD_DEPENDS="gnome-menus gnome-menus-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src/$PACKAGE
    1.24 +	sed -i 's|root0/.|usr/share/|g'	Makefile
    1.25 +	sed -i '/tar -/d' Makefile	&& make
    1.26 +	make PKGNAME=$install BINDIR=/usr/bin install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	cp -a $install/usr $fs
    1.33 +	cp -f $stuff/* $fs/usr/share/icewm
    1.34 +}
    1.35 +
    1.36 +post_install()
    1.37 +{
    1.38 +	ico="/usr/share/icons/SliTaz"
    1.39 +	IconPath="$ico/apps/22:/usr/share/pixmaps:$ico/categories/22:$ico/devices/22:$ico/mimetypes/32"
    1.40 +	pref="$1/usr/share/icewm/preferences"
    1.41 +	echo '	'>> $pref
    1.42 +	echo 'IconPath="'$IconPath'"'	>> $pref
    1.43 +	echo 'MenuMouseTracking=1'	>> $pref
    1.44 +}