wok view psycopg2/receipt @ rev 12083

icedtea6-jdk: fix compiles_rules to work with tazwok. I know it's a bit messy but I need this.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 09 18:19:26 2012 +0100 (2012-03-09)
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 }