wok view python-flup/receipt @ rev 14065
shaarli: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 20 12:48:01 2013 +0100 (2013-02-20) |
parents | 67b34338f23b |
children | fd4f1e692109 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-flup"
4 VERSION="1.0.2"
5 CATEGORY="network"
6 SHORT_DESC="Random collection of WSGI modules for Python."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="python"
9 BUILD_DEPENDS="python python-dev python-distribute"
10 SOURCE="flup"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://trac.saddi.com/flup"
13 WGET_URL="http://www.saddi.com/software/flup/dist/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 python setup.py build &&
19 python setup.py install --root=$DESTDIR
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs
26 cp -a $_pkg/usr $fs
27 }