wok annotate python-html2text/receipt @ rev 20167

Up smtube, smplayer (18.1.0)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Jan 11 13:05:26 2018 +0100 (2018-01-11)
parents 772158ee5623
children 814362194a8d
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@20105 7 SHORT_DESC="Convert HTML into clean, easy-to-read markdown-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 }