wok view obmenu/receipt @ rev 22420
these 3 packages seem not used in xfce4 v4.12, so reverting to last version in slitaz: 4.10.0: libxfcegui4 libxfcegui4-dev xfce4-mixer
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Dec 15 09:01:23 2019 +0000 (2019-12-15) |
parents | 9e01bc6321ea |
children | 370da83187ab |
line source
1 # SliTaz package receipt.
3 PACKAGE="obmenu"
4 VERSION="1.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Openbox menu editor."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://obmenu.sourceforge.net/index.html"
11 WGET_URL="http://downloads.sourceforge.net/obmenu/$TARBALL"
12 TAGS="openbox"
14 DEPENDS="python pycairo pygobject pygtk libffi"
15 BUILD_DEPENDS="python python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py build
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/pixmaps
28 cp -a $install/usr $fs
29 cp $install/usr/share/obmenu/mnu48.png $fs/usr/share/pixmaps
30 }
32 post_install()
33 {
34 echo
35 echo -n "Enabling configuration file..."
36 cp "$1/home/tux/.config/openbox/menu.xml" "$1/root/.config/openbox"
37 status
38 }
40 post_remove()
41 {
42 echo -n "Removing configuration files..."
43 rm "$1/root/.config/openbox/menu.xml"
44 status
45 }