wok-6.x annotate python-html2text/receipt @ rev 20046
Add Turbine v1.0 by The SliTaz DevTeam.
author | Leonardo Laporte <hackdorte@yandex.com> |
---|---|
date | Thu Aug 31 05:31:36 2017 -0300 (2017-08-31) |
parents | d3fd47f6dcf9 |
children | 772158ee5623 |
rev | line source |
---|---|
pankso@13566 | 1 # SliTaz package receipt. |
pankso@13566 | 2 |
pankso@13566 | 3 PACKAGE="python-html2text" |
pankso@13566 | 4 VERSION="3.200.3" |
pankso@13566 | 5 SOURCE="html2text" |
pankso@13566 | 6 CATEGORY="network" |
pankso@13566 | 7 SHORT_DESC="Converts a page of HTML into clean, easy-to-read plain ASCII text." |
pankso@13566 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 9 LICENSE="GPL3" |
pankso@13566 | 10 TARBALL="${SOURCE}-${VERSION}.tar.gz" |
pankso@13566 | 11 WEB_SITE="http://www.aaronsw.com/2002/html2text/" |
pankso@13566 | 12 WGET_URL="http://pypi.python.org/packages/source/h/html2text/$TARBALL" |
pankso@13566 | 13 |
pankso@13566 | 14 DEPENDS="python" |
pascal@17728 | 15 BUILD_DEPENDS="python-dev python-distribute setuptools" |
pankso@13566 | 16 |
pankso@13566 | 17 # Rules to configure and make the package. |
pankso@13566 | 18 compile_rules() |
pankso@13566 | 19 { |
pankso@13566 | 20 python setup.py install --root="$DESTDIR" --optimize=1 |
pankso@13566 | 21 } |
pankso@13566 | 22 |
pankso@13566 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13566 | 24 genpkg_rules() |
pankso@13566 | 25 { |
pankso@13566 | 26 mkdir -p $fs/usr |
pankso@13566 | 27 cp -a $install/usr/lib $fs/usr |
pankso@13566 | 28 cp -a $install/usr/bin $fs/usr |
pankso@13566 | 29 } |
al@18077 | 30 |