wok-6.x view python-reportlab/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
parents 983e91358a71
children bf4a09ef1d2e
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 SOURCE="ReportLab"
9 TARBALL="${SOURCE}_$VERSION.tar.gz"
10 WEB_SITE="http://www.reportlab.org/"
11 WGET_URL="${WEB_SITE}ftp/$TARBALL"
12 DEPENDS="python freetype"
13 BUILD_DEPENDS="python python-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ln -s ${SOURCE}_$VERSION $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 }
35 # Remove old package.
36 post_install()
37 {
38 rm -rf $1/var/lib/tazpkg/installed/reportlab
39 }