wok-current annotate reportlab/receipt @ rev 1902
linux/initramfs: tiny fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 20 20:41:43 2008 +0000 (2008-12-20) |
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 } |