wok view python-werkzeug/receipt @ rev 16607
libmcs: use libmowgli-2 now
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 08 08:21:41 2014 +0000 (2014-05-08) |
parents | 1555db35e7e5 |
children | 7390f8de9846 |
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 LICENSE="BSD"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://werkzeug.pocoo.org/"
12 GIT_URL="https://github.com/mitsuhiko/werkzeug/tarball/$GITHASH"
14 DEPENDS="python"
15 BUILD_DEPENDS="wget python python-dev setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 [ -s $SOURCES_REPOSITORY/$TARBALL ] ||
21 wget --no-check-certificate -O $SOURCES_REPOSITORY/$TARBALL $GIT_URL
22 if [ ! -s $src ]; then
23 mkdir -p $(dirname $src)
24 tar xzf $SOURCES_REPOSITORY/$TARBALL &&
25 mv mitsuhiko-werkzeug-$VERSION $src
26 fi
27 cd $src
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }