wok-6.x view python-webdav/receipt @ rev 14051
catfish: fix build and force it to work with SliTaz
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Feb 19 17:14:33 2013 +0000 (2013-02-19) |
parents | |
children | bf4a09ef1d2e |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-webdav"
4 VERSION="0.5"
5 CATEGORY="development"
6 SHORT_DESC="A WebDAV client library for Python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="${PACKAGE}_$VERSION.tar.gz"
9 WEB_SITE="http://sourceforge.net/projects/python-webdav/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="python"
13 BUILD_DEPENDS="python-dev python"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py build &&
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs
27 cp -a $_pkg/usr $fs
28 }