wok-6.x view psycopg2/receipt @ rev 2345
Up: udev (139)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 03 22:57:06 2009 +0100 (2009-03-03) |
parents | bbec7b40d74f |
children | 04615b88ff45 |
line source
1 # SliTaz package receipt.
3 PACKAGE="psycopg2"
4 VERSION="2.0.8"
5 CATEGORY="development"
6 SHORT_DESC="PostgreSQL database adapter for the Python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://initd.org/"
10 WGET_URL="${WEB_SITE}pub/software/psycopg/$TARBALL"
11 DEPENDS="python egenix-mx-base libpostgresqlclient"
12 BUILD_DEPENDS="python postgresql-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 python setup.py build &&
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 cp -a $_pkg/usr $fs
26 }