wok-next annotate python-pyweb/receipt @ rev 16026
Up ffmpeg and add to ARM, rm ffmpeg-svn and add git version, up mpg123 and more X pkgs to ARM
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 08 06:26:57 2014 +0100 (2014-03-08) |
parents | fd4f1e692109 |
children | 7390f8de9846 |
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@15611 | 13 |
pascal@14184 | 14 DEPENDS="python" |
pascal@15611 | 15 BUILD_DEPENDS="python" |
pascal@14184 | 16 |
pascal@14184 | 17 # Rules to configure and make the package. |
pascal@14184 | 18 compile_rules() |
pascal@14184 | 19 { |
pascal@14184 | 20 cd $src |
pascal@14184 | 21 python setup.py build |
pascal@14184 | 22 python setup.py install --root=$DESTDIR |
pascal@14184 | 23 } |
pascal@14184 | 24 |
pascal@14184 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14184 | 26 genpkg_rules() |
pascal@14184 | 27 { |
pascal@14184 | 28 mkdir -p $fs/usr |
pascal@14184 | 29 cp -a $install/usr/lib $fs/usr |
pascal@14184 | 30 } |