# HG changeset patch # User Pascal Bellard # Date 1368292729 -7200 # Node ID a9d47aecad2c5f2a2755f56ce4787a3fd1833a68 # Parent cce8d74a79528b2112eb89b304229ead70ca243f Add python-pywebdav diff -r cce8d74a7952 -r a9d47aecad2c python-pywebdav/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pywebdav/receipt Sat May 11 19:18:49 2013 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="python-pywebdav" +SOURCE="PyWebDAV" +VERSION="0.9.8" +CATEGORY="development" +SHORT_DESC="A WebDAV client library for Python." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://code.google.com/p/pywebdav/" +WGET_URL="http://pywebdav.googlecode.com/files/$TARBALL" + +DEPENDS="python" +BUILD_DEPENDS="python-dev python setuptools" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py develop && + 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 +}