wok diff python-chardet/receipt @ rev 13996

virtualbox-ose: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 12 21:37:50 2013 +0100 (2013-02-12)
parents
children fd4f1e692109
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-chardet/receipt	Tue Feb 12 21:37:50 2013 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="python-chardet"
     1.7 +SOURCE=python2-chardet
     1.8 +VERSION="2.0.1"
     1.9 +CATEGORY="development"
    1.10 +MAINTAINER="devel@slitaz.org"
    1.11 +SHORT_DESC="Python module for character encoding auto-detection"
    1.12 +DEPENDS="python"
    1.13 +BUILD_DEPENDS="python-dev"
    1.14 +WEB_SITE="http://chardet.feedparser.org"
    1.15 +TARBALL="$SOURCE-$VERSION.tgz"
    1.16 +WGET_URL="$WEB_SITE/download/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +
    1.20 +compile_rules() {
    1.21 +  
    1.22 +  cd $src
    1.23 +  python setup.py install --root=$PWD/_pkg --optimize=1 
    1.24 +}
    1.25 +	
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	cp -a $_pkg/usr $fs
    1.30 +}