wok-next annotate python-werkzeug/receipt @ rev 15084
nabi: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 20:24:47 2013 +0000 (2013-08-13) |
parents | |
children | d925fb3ac2bd |
rev | line source |
---|---|
pascal@12973 | 1 # SliTaz package receipt. |
pascal@12973 | 2 |
pascal@12973 | 3 PACKAGE="python-werkzeug" |
pascal@12973 | 4 GITHASH="8c085bba3d0abe1139fd84bdb542efdb579b0205" |
pascal@12973 | 5 VERSION=${GITHASH:0:7} |
pascal@12973 | 6 CATEGORY="development" |
pascal@12973 | 7 SHORT_DESC="WSGI utility modules" |
pascal@12973 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@12973 | 9 WEB_SITE="http://werkzeug.pocoo.org/" |
pascal@12973 | 10 GIT_URL="https://nodeload.github.com/mitsuhiko/werkzeug/tarball/$GITHASH" |
pascal@12973 | 11 |
pascal@12973 | 12 DEPENDS="python" |
pascal@12973 | 13 BUILD_DEPENDS="wget python python-dev setuptools" |
pascal@12973 | 14 |
pascal@12973 | 15 # Rules to configure and make the package. |
pascal@12973 | 16 compile_rules() |
pascal@12973 | 17 { |
pascal@12973 | 18 if [ ! -s $src ]; then |
pascal@12973 | 19 mkdir -p $(dirname $src) |
pascal@12973 | 20 wget --no-check-certificate -O - $GIT_URL | tar xzf - && |
pascal@12973 | 21 mv mitsuhiko-werkzeug-$VERSION $src |
pascal@12973 | 22 fi |
pascal@12973 | 23 cd $src |
pascal@12973 | 24 python setup.py install --root=$DESTDIR |
pascal@12973 | 25 } |
pascal@12973 | 26 |
pascal@12973 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12973 | 28 genpkg_rules() |
pascal@12973 | 29 { |
pascal@12973 | 30 cp -a $_pkg/usr $fs |
pascal@12973 | 31 } |
pascal@12973 | 32 |