wok view python-pyweb/receipt @ rev 15296

Add smake
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 27 10:14:31 2013 +0000 (2013-09-27)
parents
children fd4f1e692109
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pyweb"
4 SOURCE="web.py"
5 VERSION="0.37"
6 CATEGORY="development"
7 SHORT_DESC="A web framework for Python."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://webpy.org/"
11 WGET_URL="${WEB_SITE}static/$TARBALL"
12 DEPENDS="python"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
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/usr
26 cp -a $install/usr/lib $fs/usr
27 }