wok-next annotate python-caldav/receipt @ rev 13777

slitaz-tools: fix 5.2 Makefile
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 03 15:23:18 2013 +0100 (2013-01-03)
parents
children fd4f1e692109
rev   line source
pascal@11727 1 # SliTaz package receipt.
pascal@11727 2
pascal@11727 3 PACKAGE="python-caldav"
pascal@11727 4 VERSION="0.1.12"
pascal@11727 5 CATEGORY="development"
pascal@11727 6 SHORT_DESC="CalDAV (RFC4791) client library for Python"
pascal@11727 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@11727 8 SOURCE="caldav"
pascal@11727 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@11727 10 WEB_SITE="http://pypi.python.org/pypi/caldav"
pascal@11727 11 WGET_URL="http://pypi.python.org/packages/source/c/$SOURCE/$TARBALL"
pascal@11727 12
pascal@11727 13 DEPENDS="python"
pascal@11727 14 BUILD_DEPENDS="python python-dev setuptools"
pascal@11727 15
pascal@11727 16 # Rules to configure and make the package.
pascal@11727 17 compile_rules()
pascal@11727 18 {
pascal@11727 19 cd $src
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/usr
pascal@11727 27 cp -a $_pkg/usr $fs
pascal@11727 28 }