# SliTaz package receipt.

PACKAGE="python-openid"
VERSION="2.2.4"
CATEGORY="development"
SHORT_DESC="OpenID libraries for Python."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
WEB_SITE="http://www.janrain.com/openid-enabled/"
WGET_URL="http://ftp.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL"

DEPENDS="python"
BUILD_DEPENDS="python-dev python"

# 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
}