wok-next annotate python-werkzeug/receipt @ rev 20467
Up cookutils (1034), TiMidity++, alpine, caps, alsaequal
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Mar 08 01:13:43 2018 +0200 (2018-03-08) |
parents | 7390f8de9846 |
children | d43bf7aae921 |
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" |
al@20444 | 15 BUILD_DEPENDS="python python-dev" |
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 } |