wok-6.x rev 6839

Added python-chardet.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Oct 19 21:50:28 2010 +0000 (2010-10-19)
parents a84c15c95800
children 37d59127ab99
files python-chardet/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-chardet/receipt	Tue Oct 19 21:50:28 2010 +0000
     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 +}