wok-next view python-werkzeug/receipt @ rev 16341
Add slitaz-arm-rpi (only for ARM arch, hope i486 cooker will handle it)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 14:59:28 2014 +0200 (2014-04-12) |
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 }