wok-6.x annotate python-werkzeug/receipt @ rev 16718
Add pifmrds (does not build yet)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 01 17:53:40 2014 +0000 (2014-06-01) |
parents | 1555db35e7e5 |
children | 7390f8de9846 |
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@15133 | 9 LICENSE="BSD" |
pascal@15133 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@12973 | 11 WEB_SITE="http://werkzeug.pocoo.org/" |
pascal@15133 | 12 GIT_URL="https://github.com/mitsuhiko/werkzeug/tarball/$GITHASH" |
pascal@12973 | 13 |
pascal@12973 | 14 DEPENDS="python" |
pascal@12973 | 15 BUILD_DEPENDS="wget python python-dev setuptools" |
pascal@12973 | 16 |
pascal@12973 | 17 # Rules to configure and make the package. |
pascal@12973 | 18 compile_rules() |
pascal@12973 | 19 { |
pascal@15135 | 20 [ -s $SOURCES_REPOSITORY/$TARBALL ] || |
pascal@15135 | 21 wget --no-check-certificate -O $SOURCES_REPOSITORY/$TARBALL $GIT_URL |
pascal@12973 | 22 if [ ! -s $src ]; then |
pascal@12973 | 23 mkdir -p $(dirname $src) |
pascal@15135 | 24 tar xzf $SOURCES_REPOSITORY/$TARBALL && |
pascal@12973 | 25 mv mitsuhiko-werkzeug-$VERSION $src |
pascal@12973 | 26 fi |
pascal@12973 | 27 cd $src |
pascal@12973 | 28 python setup.py install --root=$DESTDIR |
pascal@12973 | 29 } |
pascal@12973 | 30 |
pascal@12973 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12973 | 32 genpkg_rules() |
pascal@12973 | 33 { |
pascal@15131 | 34 cp -a $install/usr $fs |
pascal@12973 | 35 } |
pascal@12973 | 36 |