wok view icewm-xdgmenu/receipt @ rev 17885
fusecloop/extract_compressed_fs: large file support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 02 10:46:24 2015 +0200 (2015-04-02) |
parents | |
children | e3f377fbc5f0 |
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="http://bkhome.org/blog?viewDetailed=02680"
10 SOURCE="xdg_puppy-0.7.6-9.tar.bz2"
11 TARBALL=$SOURCE
12 WGET_URL="http://distro.ibiblio.org/puppylinux/sources/x/$TARBALL"
14 DEPENDS="gnome-menus slitaz-menus icewm"
15 BUILD_DEPENDS="gnome-menus gnome-menus-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/$PACKAGE
21 sed -i 's|root0/.|usr/share/|g' Makefile
22 sed -i '/tar -/d' Makefile && make
23 make PKGNAME=$install BINDIR=/usr/bin install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/usr $fs
30 cp -f $stuff/* $fs/usr/share/icewm
31 }
33 post_install()
34 {
35 ico="/usr/share/icons/SliTaz"
36 IconPath="$ico/apps/22:/usr/share/pixmaps:$ico/categories/22:$ico/devices/22:$ico/mimetypes/32"
37 pref="$1/usr/share/icewm/preferences"
38 echo ' '>> $pref
39 echo 'IconPath="'$IconPath'"' >> $pref
40 echo 'MenuMouseTracking=1' >> $pref
41 }