wok-6.x view psycopg2/receipt @ rev 1230

Add psycopg2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 11 06:09:44 2008 +0000 (2008-08-11)
parents
children 3cc1d65e6423
line source
1 # SliTaz package receipt.
3 PACKAGE="psycopg2"
4 VERSION="2.0.7"
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/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 python setup.py build
17 python setup.py install --root=$PWD/_pkg
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 cp -a $_pkg/usr $fs
24 }