wok-6.x annotate python-html2text/receipt @ rev 13743
Add ortp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 28 23:33:03 2012 +0100 (2012-12-28) |
parents | |
children | 2b9f96603415 |
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" |
pankso@13566 | 9 TARBALL="${SOURCE}-${VERSION}.tar.gz" |
pankso@13566 | 10 WEB_SITE="http://www.aaronsw.com/2002/html2text/" |
pankso@13566 | 11 WGET_URL="http://pypi.python.org/packages/source/h/html2text/$TARBALL" |
pankso@13566 | 12 |
pankso@13566 | 13 DEPENDS="python" |
pankso@13566 | 14 BUILD_DEPENDS="python-dev python-distribute" |
pankso@13566 | 15 |
pankso@13566 | 16 # Rules to configure and make the package. |
pankso@13566 | 17 compile_rules() |
pankso@13566 | 18 { |
pankso@13566 | 19 cd $src |
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 } |