# HG changeset patch # User Christophe Lincoln # Date 1244766249 -7200 # Node ID 29ac9ec96a95682a5f3d2f8d0aede6cf5ff0bf9b # Parent c2d860f042a9faccc9a91bbbf90a2275d113c895 Add: python-cherrypy diff -r c2d860f042a9 -r 29ac9ec96a95 python-cherrypy/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-cherrypy/receipt Fri Jun 12 02:24:09 2009 +0200 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="python-cherrypy" +VERSION="2.3.0" # Fix to this version for turbogears. +CATEGORY="development" +SHORT_DESC="CherryPy is a pythonic, object-oriented HTTP framework." +MAINTAINER="pankso@slitaz.org" +SOURCE="CherryPy" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.cherrypy.org/" +WGET_URL="http://download.cherrypy.org/cherrypy/$VERSION/$TARBALL" +DEPENDS="python" +BUILD_DEPENDS="python python-dev" +TAGS="python" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py install --root=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $_pkg/usr $fs +}