# HG changeset patch # User Pascal Bellard # Date 1218434984 0 # Node ID 95fe34e2fc7f7e9fcb2e36853dc674066946c438 # Parent b6f6438cbd39c80ded4c3da204c79ad7d037d91a Add psycopg2 diff -r b6f6438cbd39 -r 95fe34e2fc7f psycopg2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/psycopg2/receipt Mon Aug 11 06:09:44 2008 +0000 @@ -0,0 +1,25 @@ +# SliTaz package receipt. + +PACKAGE="psycopg2" +VERSION="2.0.7" +CATEGORY="development" +SHORT_DESC="PostgreSQL database adapter for the Python." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://initd.org/" +WGET_URL="${WEB_SITE}pub/software/$PACKAGE/$TARBALL" + +# 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 +} +