wok-6.x annotate reportlab/receipt @ rev 1357
Add: BoxBackup automatic on-line backup system
author | Dominique Corbex <domcox@users.sourceforge.net> |
---|---|
date | Tue Sep 09 22:18:22 2008 +0200 (2008-09-09) |
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 } |