wok-6.x annotate python-chardet/receipt @ rev 16154

remove libtaz, see http://hg.slitaz.org/slitaz-dev-tools/rev/712c188572fc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 28 14:10:02 2014 +0000 (2014-03-28)
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 }