wok view obmenu/receipt @ rev 6928
Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 22 22:36:22 2010 +0000 (2010-10-22) |
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 }