wok diff psycopg/receipt @ rev 19298
rev: AstroMenace (again)
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Sat Jul 09 07:32:04 2016 -0300 (2016-07-09) |
parents | 80568f5b4b45 |
children | 7c0170dd3ecc |
line diff
1.1 --- a/psycopg/receipt Wed May 11 22:35:02 2011 +0200 1.2 +++ b/psycopg/receipt Sat Jul 09 07:32:04 2016 -0300 1.3 @@ -5,6 +5,7 @@ 1.4 CATEGORY="system-tools" 1.5 SHORT_DESC="PostgreSQL database adapter for the Python." 1.6 MAINTAINER="pascal.bellard@slitaz.org" 1.7 +LICENSE="GPL2" 1.8 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.9 WEB_SITE="http://initd.org/" 1.10 WGET_URL="http://initd.org/psycopg/tarballs/PSYCOPG-1-1/$TARBALL" 1.11 @@ -17,19 +18,19 @@ 1.12 { 1.13 cd $src 1.14 python=python$(python --version 2>&1 | awk '{ print substr($2,0,3) }') 1.15 - mkdir -p _pkg/usr/lib/$python/site-packages 1.16 + mkdir -p $DESTDIR/usr/lib/$python/site-packages 1.17 ./configure --prefix=/usr --infodir=/usr/share/info \ 1.18 --with-mxdatetime-includes=/usr/lib/$python/site-packages/mx/DateTime/mxDateTime \ 1.19 --with-postgres-libraries=/usr/lib/postgresql \ 1.20 --mandir=/usr/share/man $CONFIGURE_ARGS && 1.21 make && 1.22 - install -m 555 ./psycopgmodule.so _pkg/usr/lib/$python/site-packages 1.23 + install -m 555 ./psycopgmodule.so $DESTDIR/usr/lib/$python/site-packages 1.24 } 1.25 1.26 # Rules to gen a SliTaz package suitable for Tazpkg. 1.27 genpkg_rules() 1.28 { 1.29 mkdir -p $fs/usr/lib/ 1.30 - cp -a $_pkg/usr $fs 1.31 + cp -a $install/usr $fs 1.32 } 1.33