wok-next annotate psycopg2/receipt @ rev 8260
Changed lorcon compression to .tar.lzma.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Jan 29 16:20:39 2011 +0000 (2011-01-29) |
parents | bbec7b40d74f |
children | 04615b88ff45 |
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@2205 | 11 DEPENDS="python egenix-mx-base libpostgresqlclient" |
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 |