wok view xhtml2pdf/receipt @ rev 18086

Rebuild Python packages to remove "*.pyc" files from packages files.lists (part last)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 23 16:17:14 2015 +0300 (2015-05-23)
parents eb8067417980
children 240fb3120638
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 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.xhtml2pdf.com"
12 WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL"
14 DEPENDS="python python-reportlab python-html5lib python-pypdf setuptools"
15 BUILD_DEPENDS="$DEPENDS python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr $fs
28 }