wok-6.x view reportlab/receipt @ rev 1241
iAdd: rssyl, rssyl-dev, gtkhtml2_viewer. claws-mail plugins.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Aug 11 23:49:23 2008 +0200 (2008-08-11) |
parents | |
children | 3d99ecce2d4b |
line source
1 # SliTaz package receipt.
3 PACKAGE="reportlab"
4 VERSION="2_1"
5 CATEGORY="development"
6 SHORT_DESC="PDF generation solution."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="ReportLab"
9 TARBALL="${SOURCE}_$VERSION.tgz"
10 WEB_SITE="http://www.reportlab.org/"
11 WGET_URL="${WEB_SITE}ftp/$TARBALL"
12 DEPENDS="python"
13 BUILD_DEPENDS="python"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ln -s ${PACKAGE}_$VERSION/$PACKAGE $src
19 cd $src
20 python setup.py build
21 python setup.py install --root=$PWD/_pkg
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $_pkg/usr $fs
28 }
30 clean_wok()
31 {
32 rm -rf ${PACKAGE}_$VERSION
33 }