wok-6.x annotate python-http-parser/receipt @ rev 22139
updated wordwarvi (1.00 -> 1.0.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Nov 05 14:34:42 2019 +0100 (2019-11-05) |
parents | 16df76e1fc6a |
children | a16dbc780c76 |
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@15379 | 9 LICENSE="MIT" |
pascal@14882 | 10 TARBALL="$SOURCE-$VERSION.zip" |
claudinei@14877 | 11 WEB_SITE="https://github.com/benoitc/http-parser/" |
pascal@14882 | 12 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip" |
claudinei@14877 | 13 |
claudinei@14877 | 14 DEPENDS="python" |
pascal@21582 | 15 BUILD_DEPENDS="python-dev python-setuptools wget python-cython" |
claudinei@14877 | 16 |
claudinei@14877 | 17 # Rules to configure and make the package. |
claudinei@14877 | 18 compile_rules() |
claudinei@14877 | 19 { |
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 } |