# HG changeset patch # User Pascal Bellard # Date 1426502169 -3600 # Node ID 6ba4b5e79ce7b1bdc53efd2611b820ee54d79a4d # Parent 2e5434fe0bdb28004d44c1d53a78bb152e04bc9c Add python-xmlutils diff -r 2e5434fe0bdb -r 6ba4b5e79ce7 python-xmlutils/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-xmlutils/receipt Mon Mar 16 11:36:09 2015 +0100 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="python-xmlutils" +SOURCE="xmlutils" +VERSION="1.1" +CATEGORY="development" +SHORT_DESC="Convert XML documents to SQL, CSV or JSON." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="MIT" +TARBALL="$SOURCE-$VERSION.zip" +WEB_SITE="https://pypi.python.org/pypi/$SOURCE" +WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" + +DEPENDS="python" +BUILD_DEPENDS="python" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py build && + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs + cp -a $install/usr $fs +}