wok-current diff python-restclient/receipt @ rev 14355

Update some TARBALL name
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 17 09:19:04 2013 +0200 (2013-04-17)
parents be13f25e790b
children 44eacb6d3864
line diff
     1.1 --- a/python-restclient/receipt	Sun Feb 20 06:53:59 2011 +0000
     1.2 +++ b/python-restclient/receipt	Wed Apr 17 09:19:04 2013 +0200
     1.3 @@ -8,15 +8,15 @@
     1.4  MAINTAINER="claudinei@slitaz.org"
     1.5  DEPENDS="python python-httplib2"
     1.6  BUILD_DEPENDS="python python-dev setuptools"
     1.7 -TARBALL="$VERSION.gz"
     1.8 +TARBALL="$PACKAGE-$VERSION.gz"
     1.9  WEB_SITE="http://bitbucket.org/benoitc/$SOURCE"
    1.10 -WGET_URL="$WEB_SITE/get/$TARBALL"
    1.11 +WGET_URL="$WEB_SITE/get/$VERSION.gz"
    1.12  
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16  	cd $src
    1.17 -	python setup.py install --root=$PWD/_pkg
    1.18 +	python setup.py install --root=$DESTDIR
    1.19  }
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22 @@ -24,8 +24,8 @@
    1.23  {
    1.24  	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
    1.25  	mkdir -p $fs/usr
    1.26 -	rm -f $_pkg/usr/lib/$PYTHON_LIB/site-packages/tests/*
    1.27 -	rmdir $_pkg/usr/lib/$PYTHON_LIB/site-packages/tests
    1.28 -	cp -a $_pkg/usr $fs
    1.29 +	rm -f $install/usr/lib/$PYTHON_LIB/site-packages/tests/*
    1.30 +	rmdir $install/usr/lib/$PYTHON_LIB/site-packages/tests
    1.31 +	cp -a $install/usr $fs
    1.32  }
    1.33