wok-current annotate python-reportlab/receipt @ rev 16266
Up: tazweb (1.8) With full bookmarks support and easy access
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 05 18:57:30 2014 +0200 (2014-04-05) |
parents | f3327707164a |
children | 7390f8de9846 |
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" |
pascal@15376 | 8 LICENSE="BSD" |
claudinei@3412 | 9 SOURCE="ReportLab" |
claudinei@3412 | 10 TARBALL="${SOURCE}_$VERSION.tar.gz" |
claudinei@3412 | 11 WEB_SITE="http://www.reportlab.org/" |
claudinei@3412 | 12 WGET_URL="${WEB_SITE}ftp/$TARBALL" |
pascal@15376 | 13 |
pascal@5005 | 14 DEPENDS="python freetype" |
claudinei@3412 | 15 BUILD_DEPENDS="python python-dev" |
claudinei@3412 | 16 |
claudinei@3412 | 17 # Rules to configure and make the package. |
claudinei@3412 | 18 compile_rules() |
claudinei@3412 | 19 { |
claudinei@3412 | 20 ln -s ${SOURCE}_$VERSION $src |
claudinei@3412 | 21 cd $src |
claudinei@3412 | 22 python setup.py build && |
pascal@15376 | 23 python setup.py install --root=$DESTDIR |
claudinei@3412 | 24 } |
claudinei@3412 | 25 |
claudinei@3412 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3412 | 27 genpkg_rules() |
claudinei@3412 | 28 { |
pascal@15376 | 29 cp -a $install/usr $fs |
claudinei@3412 | 30 } |
claudinei@3412 | 31 |
claudinei@3412 | 32 clean_wok() |
claudinei@3412 | 33 { |
claudinei@3412 | 34 rm -rf ${PACKAGE}_$VERSION |
claudinei@3412 | 35 } |
claudinei@3412 | 36 |
claudinei@3412 | 37 # Remove old package. |
claudinei@3412 | 38 post_install() |
claudinei@3412 | 39 { |
claudinei@3412 | 40 rm -rf $1/var/lib/tazpkg/installed/reportlab |
claudinei@3412 | 41 } |