wok-current view python-werkzeug/receipt @ rev 14370
Up: bluez-dev (4.101)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Apr 21 19:59:09 2013 +0200 (2013-04-21) |
parents | |
children | d925fb3ac2bd |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-werkzeug"
4 GITHASH="8c085bba3d0abe1139fd84bdb542efdb579b0205"
5 VERSION=${GITHASH:0:7}
6 CATEGORY="development"
7 SHORT_DESC="WSGI utility modules"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 WEB_SITE="http://werkzeug.pocoo.org/"
10 GIT_URL="https://nodeload.github.com/mitsuhiko/werkzeug/tarball/$GITHASH"
12 DEPENDS="python"
13 BUILD_DEPENDS="wget python python-dev setuptools"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 if [ ! -s $src ]; then
19 mkdir -p $(dirname $src)
20 wget --no-check-certificate -O - $GIT_URL | tar xzf - &&
21 mv mitsuhiko-werkzeug-$VERSION $src
22 fi
23 cd $src
24 python setup.py install --root=$DESTDIR
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $_pkg/usr $fs
31 }