# SliTaz package receipt.

PACKAGE="python-lxml"
VERSION="2.3"
CATEGORY="development"
SHORT_DESC="Pythonic binding for the libxml2 and libxslt libraries.."
MAINTAINER="pascal.bellard@slitaz.org"
SOURCE="lxml"
TARBALL="$SOURCE-$VERSION.tgz"
WEB_SITE="http://codespeak.net/lxml/"
WGET_URL="${WEB_SITE}${TARBALL}"
DEPENDS="python libxml2 libxslt zlib"
BUILD_DEPENDS="python libxml2 libxml2-dev libxslt libxslt-dev setuptools"

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	cp -a $_pkg/usr $fs
}