wok-next view psycopg2/receipt @ rev 13097

Up: bazaar to 2.5.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Jun 26 15:38:50 2012 +0000 (2012-06-26)
parents 2a2e3384a8ce
children bf4a09ef1d2e
line source
1 # SliTaz package receipt.
3 PACKAGE="psycopg2"
4 VERSION="2.4.2"
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/psycopg/"
10 WGET_URL="${WEB_SITE}tarballs/PSYCOPG-2-4//$TARBALL"
11 DEPENDS="python egenix-mx-base libpostgresqlclient"
12 BUILD_DEPENDS="python-dev postgresql-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/,PSYCOPG_DEBUG$//' setup.cfg
19 python setup.py build &&
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $_pkg/usr $fs
27 }