wok-next diff python-werkzeug/receipt @ rev 14522

Up: transmission (2.52)
author Richard Dunbar <mojo@slitaz.org>
date Fri May 17 03:18:43 2013 +0000 (2013-05-17)
parents
children d925fb3ac2bd
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-werkzeug/receipt	Fri May 17 03:18:43 2013 +0000
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="python-werkzeug"
     1.7 +GITHASH="8c085bba3d0abe1139fd84bdb542efdb579b0205"
     1.8 +VERSION=${GITHASH:0:7}
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="WSGI utility modules"
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +WEB_SITE="http://werkzeug.pocoo.org/"
    1.13 +GIT_URL="https://nodeload.github.com/mitsuhiko/werkzeug/tarball/$GITHASH"
    1.14 +
    1.15 +DEPENDS="python"
    1.16 +BUILD_DEPENDS="wget python python-dev setuptools"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	if [ ! -s $src ]; then
    1.22 +		mkdir -p $(dirname $src)
    1.23 +		wget --no-check-certificate -O - $GIT_URL | tar xzf - &&
    1.24 +		mv mitsuhiko-werkzeug-$VERSION $src
    1.25 +	fi
    1.26 +	cd $src
    1.27 +	python setup.py install --root=$DESTDIR
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	cp -a $_pkg/usr $fs
    1.34 +}
    1.35 +