# HG changeset patch # User Pascal Bellard # Date 1218444734 0 # Node ID b4ffce7111492ed10876a73de10cde083bc0df08 # Parent d5647924b49c6d6a893cc538fcf5dda488287f05 Add libxml2-python diff -r d5647924b49c -r b4ffce711149 libxml2-python/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libxml2-python/receipt Mon Aug 11 08:52:14 2008 +0000 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="libxml2-python" +VERSION="2.6.9" +CATEGORY="development" +SHORT_DESC="Libxml2 adapter for the Python." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://xmlsoft.org/" +WGET_URL="ftp://xmlsoft.org/libxml2/python/$TARBALL" +DEPENDS="python libxml2" +BUILD_DEPENDS="python" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py build + python setup.py install --root=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $_pkg/usr $fs +} +