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

Up: binutils (2.23.1)
author Alexander Medvedev <devl547@gmail.com>
date Fri Jan 25 23:15:55 2013 +0000 (2013-01-25)
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 }