wok annotate python-chardet/receipt @ rev 20074

syslinux: shrink i18n.cfg (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 24 21:46:04 2017 +0200 (2017-09-24)
parents fd4f1e692109
children 6135577f4d08
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"
slaxemulator@6839 10 WEB_SITE="http://chardet.feedparser.org"
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 }