wok rev 14184
Add python-pyweb
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 11 17:38:29 2013 +0100 (2013-03-11) |
parents | 220dcc13353f |
children | a4c663bcb06a |
files | python-pyweb/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-pyweb/receipt Mon Mar 11 17:38:29 2013 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-pyweb" 1.7 +SOURCE="web.py" 1.8 +VERSION="0.37" 1.9 +CATEGORY="development" 1.10 +SHORT_DESC="A web framework for Python." 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://webpy.org/" 1.14 +WGET_URL="${WEB_SITE}static/$TARBALL" 1.15 +DEPENDS="python" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + python setup.py build 1.22 + python setup.py install --root=$DESTDIR 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr 1.29 + cp -a $install/usr/lib $fs/usr 1.30 +}