wok-current annotate python-pywebdav/receipt @ rev 19199
gucharmap: fix packaging
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 09 00:34:10 2016 +0300 (2016-06-09) |
parents | fd4f1e692109 |
children | 8dd8bab3f0ca |
rev | line source |
---|---|
pascal@14502 | 1 # SliTaz package receipt. |
pascal@14502 | 2 |
pascal@14502 | 3 PACKAGE="python-pywebdav" |
pascal@14502 | 4 SOURCE="PyWebDAV" |
pascal@14502 | 5 VERSION="0.9.8" |
pascal@14502 | 6 CATEGORY="development" |
pascal@14502 | 7 SHORT_DESC="A WebDAV client library for Python." |
pascal@14502 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 9 LICENSE="GPL2" |
pascal@14502 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14502 | 11 WEB_SITE="http://code.google.com/p/pywebdav/" |
pascal@14502 | 12 WGET_URL="http://pywebdav.googlecode.com/files/$TARBALL" |
pascal@14502 | 13 |
pascal@14502 | 14 DEPENDS="python" |
pascal@14502 | 15 BUILD_DEPENDS="python-dev python setuptools" |
pascal@14502 | 16 |
pascal@14502 | 17 # Rules to configure and make the package. |
pascal@14502 | 18 compile_rules() |
pascal@14502 | 19 { |
pascal@14502 | 20 python setup.py develop && |
pascal@14502 | 21 python setup.py install --root=$DESTDIR |
pascal@14502 | 22 } |
pascal@14502 | 23 |
pascal@14502 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14502 | 25 genpkg_rules() |
pascal@14502 | 26 { |
pascal@14502 | 27 mkdir -p $fs |
pascal@14502 | 28 cp -a $install/usr $fs |
pascal@14502 | 29 } |
al@18086 | 30 |