wok-6.x annotate python-reportlab/receipt @ rev 22259
updated xorg-xextproto again (7.2.1 -> 7.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Nov 12 17:30:16 2019 +0100 (2019-11-12) |
parents | 9e01bc6321ea |
children | bc7cbcc495b3 |
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" |
pascal@20672 | 11 WEB_SITE="https://pypi.org/project/$SOURCE/" |
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 { |
pascal@18730 | 40 [ ! -d "$1/var/lib/tazpkg/installed/reportlab" ] || |
pascal@18730 | 41 rm -rf "$1/var/lib/tazpkg/installed/reportlab" |
claudinei@3412 | 42 } |
al@18086 | 43 |