wok-current diff psycopg/receipt @ rev 24052
Up slitaz-boot-scripts (469)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 26 19:58:37 2021 +0000 (2021-05-26) |
parents | 80568f5b4b45 |
children | 7c0170dd3ecc |
line diff
1.1 --- a/psycopg/receipt Wed May 11 22:35:02 2011 +0200 1.2 +++ b/psycopg/receipt Wed May 26 19:58:37 2021 +0000 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