wok annotate python-http-parser/receipt @ rev 15449

Up: edje (1.7.9)
author Dominique Corbex <domcox@slitaz.org>
date Tue Nov 05 20:58:02 2013 +0100 (2013-11-05)
parents a6b02638b42c
children 16df76e1fc6a
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@14883 15 BUILD_DEPENDS="python-dev 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 cd $src
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
claudinei@14877 28 cp -a $install/usr $fs
claudinei@14877 29 }
claudinei@14877 30