wok-current annotate python-flup/receipt @ rev 10438
Add: python-flup
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 25 01:22:29 2011 +0200 (2011-05-25) |
parents | |
children | a49ab2aa59af |
rev | line source |
---|---|
pankso@10438 | 1 # SliTaz package receipt. |
pankso@10438 | 2 |
pankso@10438 | 3 PACKAGE="python-flup" |
pankso@10438 | 4 VERSION="1.0.2" |
pankso@10438 | 5 CATEGORY="network" |
pankso@10438 | 6 SHORT_DESC="Random collection of WSGI modules for Python." |
pankso@10438 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@10438 | 8 DEPENDS="python" |
pankso@10438 | 9 BUILD_DEPENDS="python python-dev" |
pankso@10438 | 10 SOURCE="flup" |
pankso@10438 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@10438 | 12 WEB_SITE="http://trac.saddi.com/flup" |
pankso@10438 | 13 WGET_URL="http://www.saddi.com/software/flup/dist/$TARBALL" |
pankso@10438 | 14 |
pankso@10438 | 15 # Rules to configure and make the package. |
pankso@10438 | 16 compile_rules() |
pankso@10438 | 17 { |
pankso@10438 | 18 python setup.py build && |
pankso@10438 | 19 python setup.py install --root=$DESTDIR |
pankso@10438 | 20 } |
pankso@10438 | 21 |
pankso@10438 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10438 | 23 genpkg_rules() |
pankso@10438 | 24 { |
pankso@10438 | 25 mkdir -p $fs |
pankso@10438 | 26 cp -a $_pkg/usr $fs |
pankso@10438 | 27 } |
pankso@10438 | 28 |