wok view psycopg2/receipt @ rev 16155

mirror-tools: no more mirror-info since http://hg.slitaz.org/slitaz-dev-tools/rev/113c2519c444
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 28 14:14:24 2014 +0000 (2014-03-28)
parents 04615b88ff45
children 16df76e1fc6a
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 LICENSE="LGPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://initd.org/psycopg/"
11 WGET_URL="${WEB_SITE}tarballs/PSYCOPG-2-4//$TARBALL"
13 DEPENDS="python egenix-mx-base libpostgresqlclient"
14 BUILD_DEPENDS="python-dev postgresql-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/,PSYCOPG_DEBUG$//' setup.cfg
21 python setup.py build &&
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/usr $fs
29 }