wok view python-chardet/receipt @ rev 23848

inkscape: update build_depends
author Richard Dunbar <mojo@slitaz.org>
date Sun Jun 14 23:18:03 2020 -0400 (2020-06-14)
parents ce1d84744683
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="python-chardet"
4 VERSION="3.0.4"
5 CATEGORY="development"
6 MAINTAINER="maintainer@slitaz.org"
7 SHORT_DESC="Python module for character encoding auto-detection."
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/chardet/chardet"
11 SOURCE=chardet
12 TARBALL="$PACKAGE-$VERSION.tgz"
13 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
15 DEPENDS="python"
16 BUILD_DEPENDS="python-dev python-setuptools"
18 # Rules to configure and make the package.
20 compile_rules()
21 {
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 }