# SliTaz package receipt.

PACKAGE="python-httplib2"
SOURCE="httplib2"
VERSION="0.5.0"
CATEGORY="development"
SHORT_DESC="A comprehensive HTTP client library for python"
MAINTAINER="claudinei@slitaz.org"
DEPENDS="python"
BUILD_DEPENDS="python python-dev"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://code.google.com/p/httplib2"
WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	python setup.py install --root=$PWD/_pkg
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	for file in `find $_pkg | grep 'pyc$'`; do
		rm $file
	done
	mkdir -p $fs/usr
	cp -a $_pkg/usr $fs
}