wok-6.x view python-html2text/receipt @ rev 13784
Add llvm (thanks ernia)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 04 18:16:39 2013 +0100 (2013-01-04) |
parents | |
children | 2b9f96603415 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-html2text"
4 VERSION="3.200.3"
5 SOURCE="html2text"
6 CATEGORY="network"
7 SHORT_DESC="Converts a page of HTML into clean, easy-to-read plain ASCII text."
8 MAINTAINER="pankso@slitaz.org"
9 TARBALL="${SOURCE}-${VERSION}.tar.gz"
10 WEB_SITE="http://www.aaronsw.com/2002/html2text/"
11 WGET_URL="http://pypi.python.org/packages/source/h/html2text/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python-dev python-distribute"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root="$DESTDIR" --optimize=1
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/lib $fs/usr
28 cp -a $install/usr/bin $fs/usr
29 }