wok-next view icewm-xdgmenu/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="icewm-xdgmenu"
4 VERSION="0.7.6"
5 CATEGORY="x-window"
6 SHORT_DESC="icewm App-Menu generator (pl/py-free version)"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="https://web.archive.org/web/20150421203203/http://bkhome.org/blog/?viewDetailed=02680"
11 SOURCE="xdg_puppy-0.7.6-9.tar.bz2"
12 TARBALL=$SOURCE
13 WGET_URL="http://distro.ibiblio.org/puppylinux/sources/x/$TARBALL"
15 BUILD_DEPENDS="gnome-menus gnome-menus-dev glib-dev libxpm libxext"
17 compile_rules() {
18 cd $src/$PACKAGE
19 sed -i 's|root0/.|usr/share/|g' Makefile
20 sed -i '/tar -/d' Makefile
22 make &&
23 make PKGNAME=$install BINDIR=/usr/bin install
24 }
26 genpkg_rules() {
27 cp -a $install/usr $fs
28 cp -f $stuff/* $fs/usr/share/icewm
29 DEPENDS="gnome-menus slitaz-menus icewm"
30 }
32 post_install() {
33 ico="/usr/share/icons/SliTaz"
34 IconPath="$ico/apps/22:/usr/share/pixmaps:$ico/categories/22:$ico/devices/22:$ico/mimetypes/32"
35 pref="$1/usr/share/icewm/preferences"
36 echo ' '>> $pref
37 echo 'IconPath="'$IconPath'"' >> $pref
38 echo 'MenuMouseTracking=1' >> $pref
39 }