wok-6.x view python-werkzeug/receipt @ rev 14471

Up: ophcrack (3.5.0)
author Cedric Tissieres <slitaz@objectif-securite.ch>
date Thu May 02 15:08:24 2013 +0200 (2013-05-02)
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 }