wok rev 14876

Up: python-bpython (0.9.7.1)
author Claudinei Pereira <claudinei@slitaz.org>
date Tue Jul 23 19:29:39 2013 -0300 (2013-07-23)
parents ca4495712bef
children a27ac932d547
files python-bpython/receipt
line diff
     1.1 --- a/python-bpython/receipt	Tue Jul 23 19:28:00 2013 -0300
     1.2 +++ b/python-bpython/receipt	Tue Jul 23 19:29:39 2013 -0300
     1.3 @@ -2,7 +2,7 @@
     1.4  
     1.5  PACKAGE="python-bpython"
     1.6  SOURCE="bpython"
     1.7 -VERSION="0.9.5.2"
     1.8 +VERSION="0.9.7.1"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="A fancy interface to the Python interpreter."
    1.11  MAINTAINER="claudinei@slitaz.org"
    1.12 @@ -16,19 +16,19 @@
    1.13  compile_rules()
    1.14  {
    1.15  	cd $src
    1.16 -	python setup.py install --root=$PWD/_pkg
    1.17 +	python setup.py install --root=$DESTDIR
    1.18  }
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23 -	for file in `find $_pkg | grep 'pyc$'`; do
    1.24 +	for file in `find $install | grep 'pyc$'`; do
    1.25  		rm $file
    1.26  	done
    1.27 -	rm -rf $_pkg/usr/share/applications
    1.28 +	rm -rf $install/usr/share/applications
    1.29  	mkdir -p $fs/usr $fs/usr/share/applications
    1.30 -	cp -a $_pkg/usr/bin $fs/usr
    1.31 -	cp -a $_pkg/usr/lib $fs/usr
    1.32 +	cp -a $install/usr/bin $fs/usr
    1.33 +	cp -a $install/usr/lib $fs/usr
    1.34  	cp -a $stuff/* $fs/usr/share/applications
    1.35  }
    1.36