wok annotate python-http-parser/receipt @ rev 23799
created recipes for xcb-util-xrm and xcb-util-xrm-dev
author | Hans-G?nter Theisgen |
---|---|
date | Sun May 24 07:04:55 2020 +0100 (2020-05-24) |
parents | 814362194a8d |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
claudinei@14877 | 1 # SliTaz package receipt. |
claudinei@14877 | 2 |
claudinei@14877 | 3 PACKAGE="python-http-parser" |
Hans-G?nter@23493 | 4 VERSION="0.8.3" |
claudinei@14877 | 5 CATEGORY="development" |
Hans-G?nter@23493 | 6 SHORT_DESC="HTTP request and response parser for python in C." |
claudinei@14877 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
Hans-G?nter@23493 | 9 WEB_SITE="https://github.com/benoitc/http-parser/" |
Hans-G?nter@23493 | 10 |
Hans-G?nter@23493 | 11 SOURCE="http-parser" |
pascal@14882 | 12 TARBALL="$SOURCE-$VERSION.zip" |
pascal@14882 | 13 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip" |
claudinei@14877 | 14 |
claudinei@14877 | 15 DEPENDS="python" |
Hans-G?nter@23493 | 16 BUILD_DEPENDS="python python-cython python-dev python-setuptools" |
claudinei@14877 | 17 |
claudinei@14877 | 18 # Rules to configure and make the package. |
claudinei@14877 | 19 compile_rules() |
claudinei@14877 | 20 { |
claudinei@14877 | 21 python setup.py install --root=$DESTDIR |
claudinei@14877 | 22 } |
claudinei@14877 | 23 |
claudinei@14877 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@14877 | 25 genpkg_rules() |
claudinei@14877 | 26 { |
claudinei@14877 | 27 mkdir -p $fs/usr |
Hans-G?nter@23493 | 28 cp -a $install/usr $fs |
claudinei@14877 | 29 } |