# SliTaz package receipt.

PACKAGE="python-pysqlite"
SOURCE="pysqlite"
VERSION="2.6.0"
CATEGORY="development"
SHORT_DESC="Python interface for the SQLite database"
MAINTAINER="sygne@ombres.eu"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://code.google.com/p/pysqlite/"
WGET_URL="http://pysqlite.googlecode.com/files/$TARBALL"

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

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

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