wok annotate python-cherrypy/receipt @ rev 5510
Up: zip required by vym
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Mon May 10 00:02:35 2010 +0000 (2010-05-10) |
parents | |
children | b00fbc158682 |
rev | line source |
---|---|
pankso@3376 | 1 # SliTaz package receipt. |
pankso@3376 | 2 |
pankso@3376 | 3 PACKAGE="python-cherrypy" |
pankso@3376 | 4 VERSION="2.3.0" # Fix to this version for turbogears. |
pankso@3376 | 5 CATEGORY="development" |
pankso@3376 | 6 SHORT_DESC="CherryPy is a pythonic, object-oriented HTTP framework." |
pankso@3376 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@3376 | 8 SOURCE="CherryPy" |
pankso@3376 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@3376 | 10 WEB_SITE="http://www.cherrypy.org/" |
pankso@3376 | 11 WGET_URL="http://download.cherrypy.org/cherrypy/$VERSION/$TARBALL" |
pankso@3376 | 12 DEPENDS="python" |
pankso@3376 | 13 BUILD_DEPENDS="python python-dev" |
pankso@3376 | 14 TAGS="python" |
pankso@3376 | 15 |
pankso@3376 | 16 # Rules to configure and make the package. |
pankso@3376 | 17 compile_rules() |
pankso@3376 | 18 { |
pankso@3376 | 19 cd $src |
pankso@3376 | 20 python setup.py install --root=$PWD/_pkg |
pankso@3376 | 21 } |
pankso@3376 | 22 |
pankso@3376 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3376 | 24 genpkg_rules() |
pankso@3376 | 25 { |
pankso@3376 | 26 cp -a $_pkg/usr $fs |
pankso@3376 | 27 } |