wok-6.x view python-http-parser/receipt @ rev 15898

Up: cookutils (3.2)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 12 23:28:09 2014 +0100 (2014-02-12)
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 }