wok-6.x annotate python-babel/receipt @ rev 10518
nfs-utils: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 16:10:05 2011 +0200 (2011-05-25) |
parents | |
children | 6042bb122d5d |
rev | line source |
---|---|
pascal@9668 | 1 PACKAGE="python-babel" |
pascal@9668 | 2 VERSION="0.9.6" |
pascal@9668 | 3 CATEGORY="development" |
pascal@9668 | 4 SHORT_DESC="A collection of tools for internationalizing Python applications." |
pascal@9668 | 5 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@9668 | 6 SOURCE="Babel" |
pascal@9668 | 7 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@9668 | 8 WEB_SITE="http://babel.edgewall.org/" |
pascal@9668 | 9 WGET_URL="http://ftp.edgewall.com/pub/babel/$TARBALL" |
pascal@9668 | 10 DEPENDS="python" |
pascal@9668 | 11 BUILD_DEPENDS="python python-dev" |
pascal@9668 | 12 |
pascal@9668 | 13 # Rules to configure and make the package. |
pascal@9668 | 14 compile_rules() |
pascal@9668 | 15 { |
pascal@9668 | 16 |
pascal@9668 | 17 cd $src |
pascal@9668 | 18 python setup.py build && |
pascal@9668 | 19 python setup.py install --root=$PWD/_pkg |
pascal@9668 | 20 } |
pascal@9668 | 21 |
pascal@9668 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9668 | 23 genpkg_rules() |
pascal@9668 | 24 { |
pascal@9668 | 25 mkdir -p $fs |
pascal@9668 | 26 cp -a $_pkg/usr $fs |
pascal@9668 | 27 } |