wok-6.x annotate python-chardet/receipt @ rev 23345
updated perl-http-message (6.03 -> 6.22)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 09:19:52 2020 +0100 (2020-03-31) |
parents | 6135577f4d08 |
children | ce1d84744683 |
rev | line source |
---|---|
slaxemulator@6839 | 1 # SliTaz package receipt. |
slaxemulator@6839 | 2 |
slaxemulator@6839 | 3 PACKAGE="python-chardet" |
slaxemulator@6839 | 4 SOURCE=python2-chardet |
slaxemulator@6839 | 5 VERSION="2.0.1" |
slaxemulator@6839 | 6 CATEGORY="development" |
slaxemulator@6839 | 7 MAINTAINER="devel@slitaz.org" |
slaxemulator@6839 | 8 SHORT_DESC="Python module for character encoding auto-detection" |
pascal@15378 | 9 LICENSE="LGPL2.1" |
pascal@20891 | 10 WEB_SITE="https://github.com/chardet/chardet" |
slaxemulator@6839 | 11 TARBALL="$SOURCE-$VERSION.tgz" |
slaxemulator@6839 | 12 WGET_URL="$WEB_SITE/download/$TARBALL" |
slaxemulator@6839 | 13 |
pascal@15378 | 14 DEPENDS="python" |
pascal@15378 | 15 BUILD_DEPENDS="python-dev" |
pascal@15378 | 16 |
slaxemulator@6839 | 17 # Rules to configure and make the package. |
slaxemulator@6839 | 18 |
slaxemulator@6839 | 19 compile_rules() { |
al@18077 | 20 python setup.py install --root=$DESTDIR --optimize=1 |
slaxemulator@6839 | 21 } |
al@18077 | 22 |
slaxemulator@6839 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6839 | 24 genpkg_rules() |
slaxemulator@6839 | 25 { |
pascal@15378 | 26 cp -a $install/usr $fs |
slaxemulator@6839 | 27 } |