wok-next diff obmenu/receipt @ rev 15608

hubbub: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 20:31:17 2013 +0000 (2013-12-06)
parents 6ec17b55b59a
children dfef8de3d270
line diff
     1.1 --- a/obmenu/receipt	Wed Feb 24 11:10:57 2010 +0000
     1.2 +++ b/obmenu/receipt	Fri Dec 06 20:31:17 2013 +0000
     1.3 @@ -5,27 +5,29 @@
     1.4  CATEGORY="x-window"
     1.5  SHORT_DESC="Openbox menu editor."
     1.6  MAINTAINER="paul@slitaz.org"
     1.7 -DEPENDS="python pycairo pygobject pygtk libffi"
     1.8 -BUILD_DEPENDS="python python-dev"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://obmenu.sourceforge.net/index.html"
    1.12  WGET_URL="http://downloads.sourceforge.net/obmenu/$TARBALL"
    1.13  TAGS="openbox"
    1.14  
    1.15 +DEPENDS="python pycairo pygobject pygtk libffi"
    1.16 +BUILD_DEPENDS="python python-dev"
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21  	cd $src
    1.22  	python setup.py build
    1.23 -	python setup.py install --root=$PWD/_pkg
    1.24 +	python setup.py install --root=$DESTDIR
    1.25  }
    1.26  
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28  genpkg_rules()
    1.29  {
    1.30  	mkdir -p $fs/usr/share/pixmaps
    1.31 -	cp -a $_pkg/usr $fs
    1.32 -	cp $_pkg/usr/share/obmenu/mnu48.png $fs/usr/share/pixmaps
    1.33 +	cp -a $install/usr $fs
    1.34 +	cp $install/usr/share/obmenu/mnu48.png $fs/usr/share/pixmaps
    1.35  }
    1.36  
    1.37  post_install()