wok-6.x view obmenu/receipt @ rev 17204
telepathy-glib: without gtk-doc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 09 13:44:19 2014 +0200 (2014-10-09) |
parents | 6ec17b55b59a |
children | dfef8de3d270 |
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 cd $src
21 python setup.py build
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/pixmaps
29 cp -a $install/usr $fs
30 cp $install/usr/share/obmenu/mnu48.png $fs/usr/share/pixmaps
31 }
33 post_install()
34 {
35 echo -n "Enabling configuration file..."
36 cp /home/tux/.config/openbox/menu.xml /root/.config/openbox
37 status
38 }
40 post_remove()
41 {
42 echo -n "Removing configuration files..."
43 rm /root/.config/openbox/menu.xml
44 status
45 }