wok annotate python-chardet/receipt @ rev 10821

Add xmlrpc-c
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 13:10:36 2011 +0200 (2011-06-06)
parents
children fd4f1e692109
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"
slaxemulator@6839 9 DEPENDS="python"
slaxemulator@6839 10 BUILD_DEPENDS="python-dev"
slaxemulator@6839 11 WEB_SITE="http://chardet.feedparser.org"
slaxemulator@6839 12 TARBALL="$SOURCE-$VERSION.tgz"
slaxemulator@6839 13 WGET_URL="$WEB_SITE/download/$TARBALL"
slaxemulator@6839 14
slaxemulator@6839 15 # Rules to configure and make the package.
slaxemulator@6839 16
slaxemulator@6839 17 compile_rules() {
slaxemulator@6839 18
slaxemulator@6839 19 cd $src
slaxemulator@6839 20 python setup.py install --root=$PWD/_pkg --optimize=1
slaxemulator@6839 21 }
slaxemulator@6839 22
slaxemulator@6839 23 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6839 24 genpkg_rules()
slaxemulator@6839 25 {
slaxemulator@6839 26 cp -a $_pkg/usr $fs
slaxemulator@6839 27 }