wok-6.x diff python-xdg/receipt @ rev 17897

Add: perltidy
author Nathan Neulinger <nneul@neulinger.org>
date Thu Apr 02 22:07:09 2015 +0000 (2015-04-02)
parents d72a95b9f79a
children 7390f8de9846
line diff
     1.1 --- a/python-xdg/receipt	Wed Sep 15 11:32:52 2010 +0000
     1.2 +++ b/python-xdg/receipt	Thu Apr 02 22:07:09 2015 +0000
     1.3 @@ -5,25 +5,27 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Python library to access freedesktop.org standards."
     1.6  MAINTAINER="paul@slitaz.org"
     1.7 -DEPENDS="python"
     1.8 -BUILD_DEPENDS="python python-dev"
     1.9 +LICENSE="LGPL2"
    1.10  SOURCE="pyxdg"
    1.11  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.12  WEB_SITE="http://www.freedesktop.org/wiki/Software/pyxdg"
    1.13  WGET_URL="http://www.freedesktop.org/~lanius/$TARBALL"
    1.14  
    1.15 +DEPENDS="python"
    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
    1.31 -	cp -a $_pkg/usr $fs
    1.32 +	cp -a $install/usr $fs
    1.33  }
    1.34