wok-6.x view python-html2text/receipt @ rev 15566

Up: thunderbird-langpack-sv_SE (17.0.11esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 24 17:37:52 2013 +0100 (2013-11-24)
parents f4af356b3cd4
children d3fd47f6dcf9
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 LICENSE="GPL3"
10 TARBALL="${SOURCE}-${VERSION}.tar.gz"
11 WEB_SITE="http://www.aaronsw.com/2002/html2text/"
12 WGET_URL="http://pypi.python.org/packages/source/h/html2text/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev python-distribute"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py install --root="$DESTDIR" --optimize=1
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 }