wok-next view python-html2text/receipt @ rev 20949
Fix homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 01 16:21:51 2018 +0300 (2018-09-01) |
parents | 6c73b944e8dd |
children | 8b5b2a6d07b8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-html2text"
4 VERSION="3.200.3"
5 CATEGORY="network"
6 SHORT_DESC="Converts a page of HTML into clean, easy-to-read plain ASCII text."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.aaronsw.com/2002/html2text/"
10 REPOLOGY="python:html2text"
12 SOURCE="html2text"
13 TARBALL="${SOURCE}-${VERSION}.tar.gz"
14 WGET_URL="http://pypi.python.org/packages/source/h/html2text/$TARBALL"
16 DEPENDS="python"
17 BUILD_DEPENDS="python-dev python-distribute"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 python setup.py install --root="$DESTDIR" --optimize=1
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 }