wok-4.x annotate reportlab/receipt @ rev 3019
Add Xorg app: x11perf,xdriinfo,xinput,xkbutils,xprop,xrandr
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 11 22:38:01 2009 +0200 (2009-05-11) |
parents | 3cc1d65e6423 |
children | 0ba1fdc97c4c |
rev | line source |
---|---|
pascal@1231 | 1 # SliTaz package receipt. |
pascal@1231 | 2 |
pascal@1231 | 3 PACKAGE="reportlab" |
pascal@1231 | 4 VERSION="2_1" |
pascal@1231 | 5 CATEGORY="development" |
pascal@1231 | 6 SHORT_DESC="PDF generation solution." |
pascal@1231 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1231 | 8 SOURCE="ReportLab" |
pascal@1231 | 9 TARBALL="${SOURCE}_$VERSION.tgz" |
pascal@1231 | 10 WEB_SITE="http://www.reportlab.org/" |
pascal@1231 | 11 WGET_URL="${WEB_SITE}ftp/$TARBALL" |
pascal@1231 | 12 DEPENDS="python" |
pascal@1511 | 13 BUILD_DEPENDS="python python-dev" |
pascal@1231 | 14 |
pascal@1231 | 15 # Rules to configure and make the package. |
pascal@1231 | 16 compile_rules() |
pascal@1231 | 17 { |
pascal@1231 | 18 ln -s ${PACKAGE}_$VERSION/$PACKAGE $src |
pascal@1231 | 19 cd $src |
pascal@1511 | 20 python setup.py build && |
pascal@1231 | 21 python setup.py install --root=$PWD/_pkg |
pascal@1231 | 22 } |
pascal@1231 | 23 |
pascal@1231 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1231 | 25 genpkg_rules() |
pascal@1231 | 26 { |
pascal@1231 | 27 cp -a $_pkg/usr $fs |
pascal@1231 | 28 } |
pascal@1231 | 29 |
pascal@1231 | 30 clean_wok() |
pascal@1231 | 31 { |
pascal@1231 | 32 rm -rf ${PACKAGE}_$VERSION |
pascal@1231 | 33 } |