wok-next view python-chardet/receipt @ rev 8243
Up: slitaz-base-files 4.1.2, tazpkg 4.2.3
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Jan 28 23:10:49 2011 +0100 (2011-01-28) |
parents | |
children | fd4f1e692109 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-chardet"
4 SOURCE=python2-chardet
5 VERSION="2.0.1"
6 CATEGORY="development"
7 MAINTAINER="devel@slitaz.org"
8 SHORT_DESC="Python module for character encoding auto-detection"
9 DEPENDS="python"
10 BUILD_DEPENDS="python-dev"
11 WEB_SITE="http://chardet.feedparser.org"
12 TARBALL="$SOURCE-$VERSION.tgz"
13 WGET_URL="$WEB_SITE/download/$TARBALL"
15 # Rules to configure and make the package.
17 compile_rules() {
19 cd $src
20 python setup.py install --root=$PWD/_pkg --optimize=1
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $_pkg/usr $fs
27 }