wok annotate psycopg2/receipt @ rev 18612
lxpanel, slitaz-configs: copy LXPanel profile to /etc/skel (again)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 17 16:50:26 2015 +0200 (2015-11-17) |
parents | bf4a09ef1d2e |
children | 0c293764164e |
rev | line source |
---|---|
pascal@1230 | 1 # SliTaz package receipt. |
pascal@1230 | 2 |
pascal@1230 | 3 PACKAGE="psycopg2" |
slaxemulator@11404 | 4 VERSION="2.4.2" |
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@15376 | 8 LICENSE="LGPL3" |
pascal@1230 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@11404 | 10 WEB_SITE="http://initd.org/psycopg/" |
slaxemulator@11404 | 11 WGET_URL="${WEB_SITE}tarballs/PSYCOPG-2-4//$TARBALL" |
pascal@15376 | 12 |
pascal@2205 | 13 DEPENDS="python egenix-mx-base libpostgresqlclient" |
slaxemulator@11404 | 14 BUILD_DEPENDS="python-dev postgresql-dev" |
pascal@1230 | 15 |
pascal@1230 | 16 # Rules to configure and make the package. |
pascal@1230 | 17 compile_rules() |
pascal@1230 | 18 { |
slaxemulator@11404 | 19 sed -i 's/,PSYCOPG_DEBUG$//' setup.cfg |
pascal@1475 | 20 python setup.py build && |
slaxemulator@11404 | 21 python setup.py install --root=$DESTDIR |
pascal@1230 | 22 } |
pascal@1230 | 23 |
pascal@1230 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1230 | 25 genpkg_rules() |
pascal@1230 | 26 { |
pascal@15376 | 27 cp -a $install/usr $fs |
pascal@1230 | 28 } |