# HG changeset patch # User Pascal Bellard # Date 1304344638 -7200 # Node ID c6fba7ac5cedb7ab6a58f7754d9d8a9678c8e7e8 # Parent b7f5000cceb9153e9804112dbc6d2b6ab3cde5e3 Add python-babel diff -r b7f5000cceb9 -r c6fba7ac5ced python-babel/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-babel/receipt Mon May 02 15:57:18 2011 +0200 @@ -0,0 +1,27 @@ +PACKAGE="python-babel" +VERSION="0.9.6" +CATEGORY="development" +SHORT_DESC="A collection of tools for internationalizing Python applications." +MAINTAINER="pascal.bellard@slitaz.org" +SOURCE="Babel" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://babel.edgewall.org/" +WGET_URL="http://ftp.edgewall.com/pub/babel/$TARBALL" +DEPENDS="python" +BUILD_DEPENDS="python python-dev" + +# Rules to configure and make the package. +compile_rules() +{ + + cd $src + python setup.py build && + python setup.py install --root=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs + cp -a $_pkg/usr $fs +}