wok-next view python-reportlab/receipt @ rev 19979
Up libdrm (2.4.82), wayland (1.14.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 18 03:31:51 2017 +0300 (2017-10-18) |
parents | 1067bb7f1e24 |
children | 92698cd69f34 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-reportlab"
4 VERSION="2_3"
5 CATEGORY="development"
6 SHORT_DESC="PDF generation solution."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 SOURCE="ReportLab"
10 TARBALL="${SOURCE}_$VERSION.tar.gz"
11 WEB_SITE="http://www.reportlab.org/"
12 WGET_URL="${WEB_SITE}ftp/$TARBALL"
14 DEPENDS="python freetype"
15 BUILD_DEPENDS="python python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ln -s ${SOURCE}_$VERSION $src
21 cd $src
22 python setup.py build &&
23 python setup.py install --root=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/usr $fs
30 }
32 clean_wok()
33 {
34 rm -rf ${PACKAGE}_$VERSION
35 }
37 # Remove old package.
38 post_install()
39 {
40 [ ! -d "$1/var/lib/tazpkg/installed/reportlab" ] ||
41 rm -rf "$1/var/lib/tazpkg/installed/reportlab"
42 }