wok annotate python-chardet/receipt @ rev 23889
created get-anydesk
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 24 11:12:22 2020 +0100 (2020-07-24) |
parents | ce1d84744683 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
slaxemulator@6839 | 1 # SliTaz package receipt. |
slaxemulator@6839 | 2 |
slaxemulator@6839 | 3 PACKAGE="python-chardet" |
Hans-G?nter@23470 | 4 VERSION="3.0.4" |
slaxemulator@6839 | 5 CATEGORY="development" |
Hans-G?nter@23470 | 6 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@23470 | 7 SHORT_DESC="Python module for character encoding auto-detection." |
pascal@15378 | 8 LICENSE="LGPL2.1" |
pascal@20891 | 9 WEB_SITE="https://github.com/chardet/chardet" |
Hans-G?nter@23470 | 10 |
Hans-G?nter@23470 | 11 SOURCE=chardet |
Hans-G?nter@23470 | 12 TARBALL="$PACKAGE-$VERSION.tgz" |
Hans-G?nter@23470 | 13 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
slaxemulator@6839 | 14 |
pascal@15378 | 15 DEPENDS="python" |
Hans-G?nter@23472 | 16 BUILD_DEPENDS="python-dev python-setuptools" |
pascal@15378 | 17 |
slaxemulator@6839 | 18 # Rules to configure and make the package. |
slaxemulator@6839 | 19 |
Hans-G?nter@23470 | 20 compile_rules() |
Hans-G?nter@23470 | 21 { |
al@18077 | 22 python setup.py install --root=$DESTDIR --optimize=1 |
slaxemulator@6839 | 23 } |
al@18077 | 24 |
slaxemulator@6839 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6839 | 26 genpkg_rules() |
slaxemulator@6839 | 27 { |
Hans-G?nter@23470 | 28 cp -a $install/usr $fs |
slaxemulator@6839 | 29 } |