wok-6.x rev 1230
Add psycopg2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 11 06:09:44 2008 +0000 (2008-08-11) |
parents | b6f6438cbd39 |
children | 3cc1d65e6423 |
files | psycopg2/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/psycopg2/receipt Mon Aug 11 06:09:44 2008 +0000 1.3 @@ -0,0 +1,25 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="psycopg2" 1.7 +VERSION="2.0.7" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="PostgreSQL database adapter for the Python." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://initd.org/" 1.13 +WGET_URL="${WEB_SITE}pub/software/$PACKAGE/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src 1.19 + python setup.py build 1.20 + python setup.py install --root=$PWD/_pkg 1.21 +} 1.22 + 1.23 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.24 +genpkg_rules() 1.25 +{ 1.26 + cp -a $_pkg/usr $fs 1.27 +} 1.28 +