wok-next diff icewm-xdgmenu/receipt @ rev 20113
Add some bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 30 09:29:31 2017 +0100 (2017-10-30) |
parents | |
children | e54ec58bfbd1 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/icewm-xdgmenu/receipt Mon Oct 30 09:29:31 2017 +0100 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 +}