wok annotate python-html2text/receipt @ rev 20104

Up python-html2text (2017.10.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 09 17:45:42 2017 +0200 (2017-10-09)
parents 16df76e1fc6a
children 1bdd385c6df5
rev   line source
pankso@13566 1 # SliTaz package receipt.
pankso@13566 2
pankso@13566 3 PACKAGE="python-html2text"
pascal@20104 4 VERSION="2017.10.4"
pankso@13566 5 SOURCE="html2text"
pankso@13566 6 CATEGORY="network"
pascal@20104 7 SHORT_DESC="Convert HTML into clean, easy-to-read plainMarkdown-formatted text."
pankso@13566 8 MAINTAINER="pankso@slitaz.org"
pascal@14999 9 LICENSE="GPL3"
pankso@13566 10 TARBALL="${SOURCE}-${VERSION}.tar.gz"
pascal@20104 11 WEB_SITE="http://alir3z4.github.io/html2text"
pascal@20104 12 WGET_URL="https://github.com/Alir3z4/html2text/archive/$VERSION.tar.gz"
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 {
pascal@20104 26 mkdir -p $fs/usr $install/usr/share
pankso@13566 27 cp -a $install/usr/lib $fs/usr
pankso@13566 28 cp -a $install/usr/bin $fs/usr
pascal@20104 29 cp -a $src/docs $install/usr/share/doc
pascal@20104 30 cp -a $src/COP* $src/RE* $install/usr/share/doc
pankso@13566 31 }