wok-current annotate reportlab/receipt @ rev 2676
Add Sonata and python-mpd
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Apr 21 12:49:09 2009 +0000 (2009-04-21) |
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 } |