wok-6.x annotate psycopg2/receipt @ rev 11405
supertux: Fixed. Add supertux-data receipt.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Dec 10 21:05:39 2011 +0000 (2011-12-10) |
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 |