wok-6.x annotate python-chardet/receipt @ rev 11557
Add matchbox-panel-2 form wok-undigest
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 25 15:19:10 2011 +0100 (2011-12-25) |
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 } |