wok-6.x view xhtml2pdf/receipt @ rev 6594

fix python path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 09 17:19:46 2010 +0200 (2010-10-09)
parents 5f1aeeb805d8
children eb8067417980
line source
1 # SliTaz package receipt.
3 PACKAGE="xhtml2pdf"
4 SOURCE="pisa"
5 VERSION="3.0.32"
6 CATEGORY="utilities"
7 SHORT_DESC="Converter for HTML/XHTML and CSS to PDF."
8 MAINTAINER="claudinei@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.xhtml2pdf.com"
11 WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL"
12 DEPENDS="python python-reportlab python-html5lib python-pypdf setuptools"
13 BUILD_DEPENDS="$DEPENDS python-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr $fs
27 }