wok-next annotate reportlab/receipt @ rev 1341
Up: clamav (0.94) + deps
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Tue Sep 02 21:14:20 2008 +0000 (2008-09-02) |
parents | |
children | 3d99ecce2d4b |
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@1231 | 13 BUILD_DEPENDS="python" |
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@1231 | 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 } |