wok-4.x view psycopg2/receipt @ rev 12347

gnome-vfs: repaired (from unwork state); added gnome-vfs-i18n (optional lang files)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 22 01:17:33 2012 +0000 (2012-10-22)
parents 2a2e3384a8ce
children
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 }