wok annotate psycopg2/receipt @ rev 1382

vim: fix due to update
author Christophe Lincoln <pankso@slitaz.org>
date Mon Sep 15 15:21:25 2008 +0200 (2008-09-15)
parents 3cc1d65e6423
children bbec7b40d74f
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/"
pankso@1264 10 WGET_URL="${WEB_SITE}pub/software/psycopg/$TARBALL"
pascal@1231 11 DEPENDS="python"
pascal@1231 12 BUILD_DEPENDS="python"
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@1230 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