wok-6.x view python-http-parser/receipt @ rev 17690
xrdp: add --localstatedir=/var
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 22 18:41:02 2015 +0100 (2015-02-22) |
parents | a6b02638b42c |
children | 16df76e1fc6a |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-http-parser"
4 SOURCE="http-parser"
5 VERSION="0.8.1"
6 CATEGORY="development"
7 SHORT_DESC="HTTP request/response parser for python in C"
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.zip"
11 WEB_SITE="https://github.com/benoitc/http-parser/"
12 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev setuptools wget python-cython"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr $fs
29 }