wok-6.x annotate psycopg2/receipt @ rev 1230

Add psycopg2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 11 06:09:44 2008 +0000 (2008-08-11)
parents
children 3cc1d65e6423
rev   line source
pascal@1230 1 # SliTaz package receipt.
pascal@1230 2
pascal@1230 3 PACKAGE="psycopg2"
pascal@1230 4 VERSION="2.0.7"
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/"
pascal@1230 10 WGET_URL="${WEB_SITE}pub/software/$PACKAGE/$TARBALL"
pascal@1230 11
pascal@1230 12 # Rules to configure and make the package.
pascal@1230 13 compile_rules()
pascal@1230 14 {
pascal@1230 15 cd $src
pascal@1230 16 python setup.py build
pascal@1230 17 python setup.py install --root=$PWD/_pkg
pascal@1230 18 }
pascal@1230 19
pascal@1230 20 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1230 21 genpkg_rules()
pascal@1230 22 {
pascal@1230 23 cp -a $_pkg/usr $fs
pascal@1230 24 }
pascal@1230 25