wok-6.x view obmenu/receipt @ rev 14503

Add get-litecoin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 11 23:41:18 2013 +0200 (2013-05-11)
parents 82a8e4f52224
children 600aaedb561d
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"
13 TAGS="openbox"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py build
20 python setup.py install --root=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/pixmaps
27 cp -a $_pkg/usr $fs
28 cp $_pkg/usr/share/obmenu/mnu48.png $fs/usr/share/pixmaps
29 }
31 post_install()
32 {
33 echo -n "Enabling configuration file..."
34 cp /home/tux/.config/openbox/menu.xml /root/.config/openbox
35 status
36 }
38 post_remove()
39 {
40 echo -n "Removing configuration files..."
41 rm /root/.config/openbox/menu.xml
42 status
43 }