wok-current annotate python-chardet/receipt @ rev 21648
updated ossp-uuid and ossp-uuid-dev (1.6.1 -> 1.6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 30 09:48:05 2019 +0100 (2019-05-30) |
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 } |