# SliTaz package receipt.

PACKAGE="python-vobject"
SOURCE="vobject"
VERSION="0.8.1c"
CATEGORY="development"
SHORT_DESC="Parse iCalendar and VCards in Python."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://vobject.skyhouseconsulting.com/"
WGET_URL="${WEB_SITE}$TARBALL"

DEPENDS="python python-dateutil"
BUILD_DEPENDS="python-dev python setuptools"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	python setup.py build &&
	python setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs
	cp -a $_pkg/usr $fs
}