# HG changeset patch # User Pascal Bellard # Date 1363019909 -3600 # Node ID b91a04c47411a79ff56343a7d4b465fa670d5b5e # Parent 220dcc13353f1ea55640b705bbca068e9e6143c7 Add python-pyweb diff -r 220dcc13353f -r b91a04c47411 python-pyweb/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyweb/receipt Mon Mar 11 17:38:29 2013 +0100 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="python-pyweb" +SOURCE="web.py" +VERSION="0.37" +CATEGORY="development" +SHORT_DESC="A web framework for Python." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://webpy.org/" +WGET_URL="${WEB_SITE}static/$TARBALL" +DEPENDS="python" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py build + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/lib $fs/usr +}