wok-current annotate python-chardet/receipt @ rev 16835

Up cookutils (3.4.1)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jul 12 17:10:33 2014 +0300 (2014-07-12)
parents 258a3e38cf19
children 16df76e1fc6a
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() {
slaxemulator@6839 20
pascal@15378 21 cd $src
pascal@15378 22 python setup.py install --root=$DESTDIR --optimize=1
slaxemulator@6839 23 }
slaxemulator@6839 24
slaxemulator@6839 25 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6839 26 genpkg_rules()
slaxemulator@6839 27 {
pascal@15378 28 cp -a $install/usr $fs
slaxemulator@6839 29 }