# HG changeset patch # User Christopher Rogers # Date 1292669007 0 # Node ID 9ddf951b7f17a1dad4f9265be742024b370a8b50 # Parent 1b686eb2f16f6291b5f8ee40888ce2f2130408f4 Add pysqlite. diff -r 1b686eb2f16f -r 9ddf951b7f17 pysqlite/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pysqlite/receipt Sat Dec 18 10:43:27 2010 +0000 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="pysqlite" +VERSION="2.6.0" +CATEGORY="development" +SHORT_DESC="A Python DB-API 2.0 interface for the SQLite embedded relational database engine." +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="python sqlite" +BUILD_DEPENDS="python-dev sqlite-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://code.google.com/p/pysqlite/" +WGET_URL="http://pysqlite.googlecode.com/files/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + cp ../stuff/setup.cfg . + python setup.py install --root=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} + diff -r 1b686eb2f16f -r 9ddf951b7f17 pysqlite/stuff/setup.cfg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pysqlite/stuff/setup.cfg Sat Dec 18 10:43:27 2010 +0000 @@ -0,0 +1,5 @@ +[build_ext] +define= +include_dirs=/usr/include +library_dirs=/usr/lib +libraries=sqlite3