# HG changeset patch # User Eric Joseph-Alexandre # Date 1215859391 -7200 # Node ID df8aef2144b14c6715908b97b267858a97c3b90b # Parent 8bae5c6c50e6a97c2b80721bc4b93b94be5960e5 Add: PyXML for Inkscape diff -r 8bae5c6c50e6 -r df8aef2144b1 PyXML/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyXML/receipt Sat Jul 12 12:43:11 2008 +0200 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="PyXML" +VERSION="0.8.4" +CATEGORY="developpement" +SHORT_DESC="XML librairies for Python" +MAINTAINER="erjo@slitaz.org" +DEPENDS="python" +BUILD_DEPENDS="python-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://pyxml.sourceforge.net/" +WGET_URL="http://garr.dl.sourceforge.net/sourceforge/pyxml/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py build --with-xslt +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + PYVER=`python -c 'import sys;print(sys.version[0:3])'` + + mkdir -p $fs/usr/bin + mkdir -p $fs/usr/lib/python${PYVER}/site-packages + + cp -a $src/build/lib.linux-i686-2.5/_xmlplus $fs/usr/lib/python${PYVER}/site-packages + cp -a $src/build/scripts-${PYVER}/* $fs/usr/bin +} + +