# SliTaz package receipt.

PACKAGE="sqlobject"
VERSION="0.12.1"
CATEGORY="development"
SHORT_DESC="object-relational mapper for the Python."
MAINTAINER="pascal.bellard@slitaz.org"
SOURCE="SQLObject"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://sqlobject.org/"
WGET_URL="http://pypi.python.org/packages/source/S/$SOURCE/$TARBALL"
DEPENDS="python"
BUILD_DEPENDS="python python-dev setuptools"

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

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