wok-stable annotate python-reportlab/receipt @ rev 3421
Add: python-bpython (0.9.3)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Sat Jun 13 01:40:22 2009 +0000 (2009-06-13) |
parents | |
children | f3327707164a |
rev | line source |
---|---|
claudinei@3412 | 1 # SliTaz package receipt. |
claudinei@3412 | 2 |
claudinei@3412 | 3 PACKAGE="python-reportlab" |
claudinei@3412 | 4 VERSION="2_3" |
claudinei@3412 | 5 CATEGORY="development" |
claudinei@3412 | 6 SHORT_DESC="PDF generation solution." |
claudinei@3412 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
claudinei@3412 | 8 SOURCE="ReportLab" |
claudinei@3412 | 9 TARBALL="${SOURCE}_$VERSION.tar.gz" |
claudinei@3412 | 10 WEB_SITE="http://www.reportlab.org/" |
claudinei@3412 | 11 WGET_URL="${WEB_SITE}ftp/$TARBALL" |
claudinei@3412 | 12 DEPENDS="python" |
claudinei@3412 | 13 BUILD_DEPENDS="python python-dev" |
claudinei@3412 | 14 |
claudinei@3412 | 15 # Rules to configure and make the package. |
claudinei@3412 | 16 compile_rules() |
claudinei@3412 | 17 { |
claudinei@3412 | 18 ln -s ${SOURCE}_$VERSION $src |
claudinei@3412 | 19 cd $src |
claudinei@3412 | 20 python setup.py build && |
claudinei@3412 | 21 python setup.py install --root=$PWD/_pkg |
claudinei@3412 | 22 } |
claudinei@3412 | 23 |
claudinei@3412 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3412 | 25 genpkg_rules() |
claudinei@3412 | 26 { |
claudinei@3412 | 27 cp -a $_pkg/usr $fs |
claudinei@3412 | 28 } |
claudinei@3412 | 29 |
claudinei@3412 | 30 clean_wok() |
claudinei@3412 | 31 { |
claudinei@3412 | 32 rm -rf ${PACKAGE}_$VERSION |
claudinei@3412 | 33 } |
claudinei@3412 | 34 |
claudinei@3412 | 35 # Remove old package. |
claudinei@3412 | 36 post_install() |
claudinei@3412 | 37 { |
claudinei@3412 | 38 rm -rf $1/var/lib/tazpkg/installed/reportlab |
claudinei@3412 | 39 } |