wok-6.x diff python-chardet/receipt @ rev 16595

speedcrunch: do not fail when ./build exists
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 07 08:07:35 2014 +0000 (2014-05-07)
parents 258a3e38cf19
children 16df76e1fc6a
line diff
     1.1 --- a/python-chardet/receipt	Tue Oct 19 21:50:28 2010 +0000
     1.2 +++ b/python-chardet/receipt	Wed May 07 08:07:35 2014 +0000
     1.3 @@ -6,22 +6,24 @@
     1.4  CATEGORY="development"
     1.5  MAINTAINER="devel@slitaz.org"
     1.6  SHORT_DESC="Python module for character encoding auto-detection"
     1.7 -DEPENDS="python"
     1.8 -BUILD_DEPENDS="python-dev"
     1.9 +LICENSE="LGPL2.1"
    1.10  WEB_SITE="http://chardet.feedparser.org"
    1.11  TARBALL="$SOURCE-$VERSION.tgz"
    1.12  WGET_URL="$WEB_SITE/download/$TARBALL"
    1.13  
    1.14 +DEPENDS="python"
    1.15 +BUILD_DEPENDS="python-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  
    1.19  compile_rules() {
    1.20    
    1.21 -  cd $src
    1.22 -  python setup.py install --root=$PWD/_pkg --optimize=1 
    1.23 +	cd $src
    1.24 +	python setup.py install --root=$DESTDIR --optimize=1 
    1.25  }
    1.26  	
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28  genpkg_rules()
    1.29  {
    1.30 -	cp -a $_pkg/usr $fs
    1.31 +	cp -a $install/usr $fs
    1.32  }