wok-current annotate python-html2text/receipt @ rev 15457
Up: elementary (1.7.9)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 05 20:58:19 2013 +0100 (2013-11-05) |
parents | f4af356b3cd4 |
children | d3fd47f6dcf9 |
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" |
pankso@13566 | 15 BUILD_DEPENDS="python-dev python-distribute" |
pankso@13566 | 16 |
pankso@13566 | 17 # Rules to configure and make the package. |
pankso@13566 | 18 compile_rules() |
pankso@13566 | 19 { |
pankso@13566 | 20 cd $src |
pankso@13566 | 21 python setup.py install --root="$DESTDIR" --optimize=1 |
pankso@13566 | 22 } |
pankso@13566 | 23 |
pankso@13566 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13566 | 25 genpkg_rules() |
pankso@13566 | 26 { |
pankso@13566 | 27 mkdir -p $fs/usr |
pankso@13566 | 28 cp -a $install/usr/lib $fs/usr |
pankso@13566 | 29 cp -a $install/usr/bin $fs/usr |
pankso@13566 | 30 } |