wok diff radiotray/receipt @ rev 17707

Up marlin: edit last patch (again)
author Yuri Pourre <yuripourre@gmail.com>
date Mon Mar 02 11:31:13 2015 -0300 (2015-03-02)
parents 466928a78475
children 7390f8de9846
line diff
     1.1 --- a/radiotray/receipt	Mon Nov 26 16:16:06 2012 +0200
     1.2 +++ b/radiotray/receipt	Mon Mar 02 11:31:13 2015 -0300
     1.3 @@ -5,24 +5,26 @@
     1.4  CATEGORY="multimedia"
     1.5  SHORT_DESC="Online radio streaming player that runs on system tray."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="python python-lxml gst-python"
     1.8 -BUILD_DEPENDS="python python-dev python-xdg gst-python-dev"
     1.9 +LICENSE="GPL"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://radiotray.sourceforge.net/"
    1.12  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.13  
    1.14 +DEPENDS="python python-lxml gst-python"
    1.15 +BUILD_DEPENDS="python python-dev python-xdg gst-python-dev"
    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 install --prefix=/usr --root=$PWD/_pkg 
    1.22 +	python setup.py install --prefix=/usr --root=$DESTDIR
    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
    1.29 -	cp -a $_pkg/usr/bin $fs/usr
    1.30 -	cp -a $_pkg/usr/lib $fs/usr
    1.31 -	cp -a $_pkg/usr/share/radiotray $fs/usr/share
    1.32 +	cp -a $install/usr/bin $fs/usr
    1.33 +	cp -a $install/usr/lib $fs/usr
    1.34 +	cp -a $install/usr/share/radiotray $fs/usr/share
    1.35  }