# HG changeset patch # User Pascal Bellard # Date 1224793315 0 # Node ID fc3d0463ba337d72f9deb0ba816752c751a67ca5 # Parent 473dba2a800feca66f2e02fffa331698d0f69070 Add python-lxml diff -r 473dba2a800f -r fc3d0463ba33 python-lxml/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-lxml/receipt Thu Oct 23 20:21:55 2008 +0000 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="python-lxml" +VERSION="2.1.2" +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" +BUILD_DEPENDS="python libxml2 libxml2-dev libxslt libxslt-dev" + +# 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 +} +