wok-6.x annotate python-flup/receipt @ rev 20213
blender: force host arch to i486
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 24 14:03:41 2018 +0100 (2018-02-24) |
parents | d3fd47f6dcf9 |
children | 6135577f4d08 |
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" |
pascal@15378 | 8 LICENSE="BSD" |
pankso@10438 | 9 SOURCE="flup" |
pankso@10438 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@10438 | 11 WEB_SITE="http://trac.saddi.com/flup" |
pankso@10438 | 12 WGET_URL="http://www.saddi.com/software/flup/dist/$TARBALL" |
pankso@10438 | 13 |
pascal@15378 | 14 DEPENDS="python" |
pascal@17728 | 15 BUILD_DEPENDS="python python-dev python-distribute setuptools" |
pascal@15378 | 16 |
pankso@10438 | 17 # Rules to configure and make the package. |
pankso@10438 | 18 compile_rules() |
pankso@10438 | 19 { |
pankso@10438 | 20 python setup.py build && |
pankso@10438 | 21 python setup.py install --root=$DESTDIR |
pankso@10438 | 22 } |
pankso@10438 | 23 |
pankso@10438 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10438 | 25 genpkg_rules() |
pankso@10438 | 26 { |
pankso@10438 | 27 mkdir -p $fs |
pascal@15378 | 28 cp -a $install/usr $fs |
pankso@10438 | 29 } |
al@18077 | 30 |