wok view xhtml2pdf/receipt @ rev 3276
locale-zh_CN: Change depend font to wqy-bitmapfont
author | Chen Yufei <tsjz@ymail.com> |
---|---|
date | Tue Jun 02 13:24:53 2009 +0800 (2009-06-02) |
parents | b7ebb23c472e |
children | 5f1aeeb805d8 |
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 reportlab html5lib pypdf setuptools"
13 BUILD_DEPENDS="python python-dev setuptools reportlab html5lib pypdf"
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 }