# HG changeset patch # User Claudinei Pereira # Date 1374618685 10800 # Node ID a27ac932d5475236657149860c8d0e5162f1faaf # Parent d13abbbfc743539a37fc7e36d8ca32af1abccf03 Add: python-http-parser (0.8.1) diff -r d13abbbfc743 -r a27ac932d547 python-http-parser/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-http-parser/receipt Tue Jul 23 19:31:25 2013 -0300 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="python-http-parser" +SOURCE="http-parser" +VERSION="0.8.1" +CATEGORY="development" +SHORT_DESC="HTTP request/response parser for python in C" +MAINTAINER="claudinei@slitaz.org" +TARBALL="$VERSION.zip" +WEB_SITE="https://github.com/benoitc/http-parser/" +WGET_URL="https://github.com/benoitc/$SOURCE/archive/$TARBALL" + +DEPENDS="python" +BUILD_DEPENDS="python-dev setuptools wget" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr $fs +} +