wok-4.x diff obmenu/receipt @ rev 1972
Lostirc : fix default nick issue
author | Julien Rabier <taziden@slitaz.org> |
---|---|
date | Fri Jan 02 18:04:05 2009 +0100 (2009-01-02) |
parents | |
children | 82a8e4f52224 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/obmenu/receipt Fri Jan 02 18:04:05 2009 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="obmenu" 1.7 +VERSION="1.0" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Openbox menu editor." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +DEPENDS="python pycairo pygobject pygtk" 1.12 +BUILD_DEPENDS="python python-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://obmenu.sourceforge.net/index.html" 1.15 +WGET_URL="http://downloads.sourceforge.net/obmenu/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + python setup.py build 1.22 + python setup.py install --root=$PWD/_pkg 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/share/pixmaps 1.29 + cp -a $_pkg/usr $fs 1.30 + cp $_pkg/usr/share/obmenu/mnu48.png $fs/usr/share/pixmaps 1.31 +} 1.32 + 1.33 +post_install() 1.34 +{ 1.35 + echo -n "Enabling configuration file..." 1.36 + cp /home/tux/.config/openbox/menu.xml /root/.config/openbox 1.37 + status 1.38 +} 1.39 + 1.40 +post_remove() 1.41 +{ 1.42 + echo -n "Removing configuration files..." 1.43 + rm /root/.config/openbox/menu.xml 1.44 + status 1.45 +}