wok-next diff python-bpython/receipt @ rev 15052
UNDO ibus-dev: no /usr/include ?
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 19:07:07 2013 +0000 (2013-08-12) |
parents | 7b13b3b4b836 |
children | fd4f1e692109 |
line diff
1.1 --- a/python-bpython/receipt Sun May 08 09:40:48 2011 +0000 1.2 +++ b/python-bpython/receipt Mon Aug 12 19:07:07 2013 +0000 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