wok-6.x view python-chardet/receipt @ rev 15894
libnl: remove devel files (save space on ISO)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 12 22:53:55 2014 +0100 (2014-02-12) |
parents | 258a3e38cf19 |
children | 16df76e1fc6a |
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 LICENSE="LGPL2.1"
10 WEB_SITE="http://chardet.feedparser.org"
11 TARBALL="$SOURCE-$VERSION.tgz"
12 WGET_URL="$WEB_SITE/download/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev"
17 # Rules to configure and make the package.
19 compile_rules() {
21 cd $src
22 python setup.py install --root=$DESTDIR --optimize=1
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/usr $fs
29 }