wok annotate python-babel/receipt @ rev 20172
sane-backends: add handles
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 23 17:49:16 2018 +0100 (2018-01-23) |
parents | fd4f1e692109 |
children | 5d50a02468c7 |
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@15378 | 6 LICENSE="BSD" |
pascal@9668 | 7 SOURCE="Babel" |
pascal@9668 | 8 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@9668 | 9 WEB_SITE="http://babel.edgewall.org/" |
pascal@9668 | 10 WGET_URL="http://ftp.edgewall.com/pub/babel/$TARBALL" |
pascal@15378 | 11 |
pascal@9668 | 12 DEPENDS="python" |
mojo@14550 | 13 BUILD_DEPENDS="python python-dev setuptools" |
pascal@9668 | 14 |
pascal@9668 | 15 # Rules to configure and make the package. |
pascal@9668 | 16 compile_rules() |
pascal@9668 | 17 { |
pascal@9668 | 18 python setup.py build && |
mojo@14550 | 19 python setup.py install --root=$DESTDIR |
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 |
mojo@14550 | 26 cp -a $install/usr $fs |
pascal@9668 | 27 } |