wok-current annotate psycopg2/receipt @ rev 14243
lirc: remove incompatible drivers
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 23 10:06:31 2013 +0100 (2013-03-23) |
parents | 2a2e3384a8ce |
children | bf4a09ef1d2e |
rev | line source |
---|---|
pascal@1230 | 1 # SliTaz package receipt. |
pascal@1230 | 2 |
pascal@1230 | 3 PACKAGE="psycopg2" |
slaxemulator@11404 | 4 VERSION="2.4.2" |
pascal@1230 | 5 CATEGORY="development" |
pascal@1230 | 6 SHORT_DESC="PostgreSQL database adapter for the Python." |
pascal@1230 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1230 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@11404 | 9 WEB_SITE="http://initd.org/psycopg/" |
slaxemulator@11404 | 10 WGET_URL="${WEB_SITE}tarballs/PSYCOPG-2-4//$TARBALL" |
pascal@2205 | 11 DEPENDS="python egenix-mx-base libpostgresqlclient" |
slaxemulator@11404 | 12 BUILD_DEPENDS="python-dev postgresql-dev" |
pascal@1230 | 13 |
pascal@1230 | 14 # Rules to configure and make the package. |
pascal@1230 | 15 compile_rules() |
pascal@1230 | 16 { |
pascal@1230 | 17 cd $src |
slaxemulator@11404 | 18 sed -i 's/,PSYCOPG_DEBUG$//' setup.cfg |
pascal@1475 | 19 python setup.py build && |
slaxemulator@11404 | 20 python setup.py install --root=$DESTDIR |
pascal@1230 | 21 } |
pascal@1230 | 22 |
pascal@1230 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1230 | 24 genpkg_rules() |
pascal@1230 | 25 { |
pascal@1230 | 26 cp -a $_pkg/usr $fs |
pascal@1230 | 27 } |
pascal@1230 | 28 |