wok-next view python-werkzeug/receipt @ rev 13050

cups: Add patch:installe-sh.u
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Jun 18 21:59:17 2012 +0200 (2012-06-18)
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 }