wok-current view python-chardet/receipt @ rev 22173
clementine: added build dependency chromaprint-dev
author | Hans-G?nter Theisgen |
---|---|
date | Fri Nov 08 14:48:56 2019 +0100 (2019-11-08) |
parents | 6135577f4d08 |
children | ce1d84744683 |
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="https://github.com/chardet/chardet"
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() {
20 python setup.py install --root=$DESTDIR --optimize=1
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/usr $fs
27 }