wok annotate python-webdav/receipt @ rev 11727
Move from undigest: python-antlr python-caldav python-gdata python-vatnumber python-vobject python-webdav python-xlwt python-zsi
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 21 09:18:42 2012 +0100 (2012-02-21) |
parents | |
children | bf4a09ef1d2e |
rev | line source |
---|---|
pascal@11727 | 1 # SliTaz package receipt. |
pascal@11727 | 2 |
pascal@11727 | 3 PACKAGE="python-webdav" |
pascal@11727 | 4 VERSION="0.5" |
pascal@11727 | 5 CATEGORY="development" |
pascal@11727 | 6 SHORT_DESC="A WebDAV client library for Python." |
pascal@11727 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11727 | 8 TARBALL="${PACKAGE}_$VERSION.tar.gz" |
pascal@11727 | 9 WEB_SITE="http://sourceforge.net/projects/python-webdav/" |
pascal@11727 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11727 | 11 |
pascal@11727 | 12 DEPENDS="python" |
pascal@11727 | 13 BUILD_DEPENDS="python-dev python" |
pascal@11727 | 14 |
pascal@11727 | 15 # Rules to configure and make the package. |
pascal@11727 | 16 compile_rules() |
pascal@11727 | 17 { |
pascal@11727 | 18 cd $src |
pascal@11727 | 19 python setup.py build && |
pascal@11727 | 20 python setup.py install --root=$DESTDIR |
pascal@11727 | 21 } |
pascal@11727 | 22 |
pascal@11727 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11727 | 24 genpkg_rules() |
pascal@11727 | 25 { |
pascal@11727 | 26 mkdir -p $fs |
pascal@11727 | 27 cp -a $_pkg/usr $fs |
pascal@11727 | 28 } |