wok-stable diff python-chardet/receipt @ rev 10947
Up apache (Security fix: range DOS)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 31 16:33:43 2011 +0200 (2011-08-31) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-chardet/receipt Wed Aug 31 16:33:43 2011 +0200 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 +}