wok-current view obmenu/receipt @ rev 4491

add webcam view to mplayer-svn conf options (no size increase)
author Rohit Joshi <jozee@slitaz.org>
date Wed Nov 18 12:59:16 2009 +0000 (2009-11-18)
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 }