# SliTaz package receipt.

PACKAGE="python-dateutil"
VERSION="1.5"
CATEGORY="development"
SHORT_DESC="Extensions to the standart python 2.3+ datetime module"
MAINTAINER="claudinei@slitaz.org"
DEPENDS="python"
BUILD_DEPENDS="python python-dev setuptools"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://labix.org/python-dateutil"
WGET_URL="http://labix.org/download/$PACKAGE/$TARBALL"

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	for file in `find $_pkg | grep 'pyc$'`; do
		rm $file
	done
	mkdir -p $fs/usr
	cp -a $_pkg/usr/lib $fs/usr
}