wok-6.x annotate python-http-parser/receipt @ rev 14883
python-http-parser: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 24 16:10:53 2013 +0000 (2013-07-24) |
parents | a9673381f756 |
children | 2a5cc8208d36 |
rev | line source |
---|---|
claudinei@14877 | 1 # SliTaz package receipt. |
claudinei@14877 | 2 |
claudinei@14877 | 3 PACKAGE="python-http-parser" |
claudinei@14877 | 4 SOURCE="http-parser" |
claudinei@14877 | 5 VERSION="0.8.1" |
claudinei@14877 | 6 CATEGORY="development" |
claudinei@14877 | 7 SHORT_DESC="HTTP request/response parser for python in C" |
claudinei@14877 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@14882 | 9 TARBALL="$SOURCE-$VERSION.zip" |
claudinei@14877 | 10 WEB_SITE="https://github.com/benoitc/http-parser/" |
pascal@14882 | 11 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip" |
claudinei@14877 | 12 |
claudinei@14877 | 13 DEPENDS="python" |
pascal@14883 | 14 BUILD_DEPENDS="python-dev setuptools wget python-cython" |
claudinei@14877 | 15 |
claudinei@14877 | 16 # Rules to configure and make the package. |
claudinei@14877 | 17 compile_rules() |
claudinei@14877 | 18 { |
claudinei@14877 | 19 cd $src |
claudinei@14877 | 20 python setup.py install --root=$DESTDIR |
claudinei@14877 | 21 } |
claudinei@14877 | 22 |
claudinei@14877 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@14877 | 24 genpkg_rules() |
claudinei@14877 | 25 { |
claudinei@14877 | 26 mkdir -p $fs/usr |
claudinei@14877 | 27 cp -a $install/usr $fs |
claudinei@14877 | 28 } |
claudinei@14877 | 29 |