wok-stable annotate psycopg2/receipt @ rev 2097
Up: ntfs-3g (2009.1.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 28 19:41:53 2009 +0100 (2009-01-28) |
parents | a2dea3d43cb3 |
children | 2a2e3384a8ce |
rev | line source |
---|---|
pascal@1230 | 1 # SliTaz package receipt. |
pascal@1230 | 2 |
pascal@1230 | 3 PACKAGE="psycopg2" |
pascal@1475 | 4 VERSION="2.0.8" |
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" |
pascal@1230 | 9 WEB_SITE="http://initd.org/" |
pankso@1264 | 10 WGET_URL="${WEB_SITE}pub/software/psycopg/$TARBALL" |
pascal@1231 | 11 DEPENDS="python" |
pascal@1475 | 12 BUILD_DEPENDS="python 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 |
pascal@1475 | 18 python setup.py build && |
pascal@1230 | 19 python setup.py install --root=$PWD/_pkg |
pascal@1230 | 20 } |
pascal@1230 | 21 |
pascal@1230 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1230 | 23 genpkg_rules() |
pascal@1230 | 24 { |
pascal@1230 | 25 cp -a $_pkg/usr $fs |
pascal@1230 | 26 } |
pascal@1230 | 27 |