wok-current view obmenu/receipt @ rev 4199

Fix: libexo FSH (--libexecdir)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Sep 23 21:12:03 2009 +0200 (2009-09-23)
parents
children 82a8e4f52224
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 DEPENDS="python pycairo pygobject pygtk"
9 BUILD_DEPENDS="python python-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://obmenu.sourceforge.net/index.html"
12 WGET_URL="http://downloads.sourceforge.net/obmenu/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 python setup.py build
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share/pixmaps
26 cp -a $_pkg/usr $fs
27 cp $_pkg/usr/share/obmenu/mnu48.png $fs/usr/share/pixmaps
28 }
30 post_install()
31 {
32 echo -n "Enabling configuration file..."
33 cp /home/tux/.config/openbox/menu.xml /root/.config/openbox
34 status
35 }
37 post_remove()
38 {
39 echo -n "Removing configuration files..."
40 rm /root/.config/openbox/menu.xml
41 status
42 }