wok view obmenu/receipt @ rev 4916
Add zsync
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 15 09:50:33 2010 +0100 (2010-02-15) |
parents | 71183fd70c31 |
children | 6ec17b55b59a |
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 libffi"
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 }