wok view python-http-parser/receipt @ rev 16566

slitaz-configs: fix build for ARM
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 01 14:43:27 2014 +0200 (2014-05-01)
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 }