wok-next annotate python-pyweb/receipt @ rev 15496
Up: firefox-langpack-pt_BR (17.0.10esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 17 16:30:01 2013 +0100 (2013-11-17) |
parents | b91a04c47411 |
children | f13bd223c231 |
rev | line source |
---|---|
pascal@14184 | 1 # SliTaz package receipt. |
pascal@14184 | 2 |
pascal@14184 | 3 PACKAGE="python-pyweb" |
pascal@14184 | 4 SOURCE="web.py" |
pascal@14184 | 5 VERSION="0.37" |
pascal@14184 | 6 CATEGORY="development" |
pascal@14184 | 7 SHORT_DESC="A web framework for Python." |
pascal@14184 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 9 LICENSE="PublicDomain" |
pascal@14184 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14184 | 11 WEB_SITE="http://webpy.org/" |
pascal@14184 | 12 WGET_URL="${WEB_SITE}static/$TARBALL" |
pascal@14184 | 13 DEPENDS="python" |
pascal@14184 | 14 |
pascal@14184 | 15 # Rules to configure and make the package. |
pascal@14184 | 16 compile_rules() |
pascal@14184 | 17 { |
pascal@14184 | 18 cd $src |
pascal@14184 | 19 python setup.py build |
pascal@14184 | 20 python setup.py install --root=$DESTDIR |
pascal@14184 | 21 } |
pascal@14184 | 22 |
pascal@14184 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14184 | 24 genpkg_rules() |
pascal@14184 | 25 { |
pascal@14184 | 26 mkdir -p $fs/usr |
pascal@14184 | 27 cp -a $install/usr/lib $fs/usr |
pascal@14184 | 28 } |