# html2text
# =========
# There are two different versions here. 1.3.2a is for recent compilers
# (like gcc 3.3.x and 3.4.x), 1.3.2 is for older ones. I was unable to build
# 1.3.2 with gcc 3.3.4 or 3.4.3, but 1.3.2a compiled with no trouble.
# html2text 1.3.2a
# ================
cd
test -f installed/html2text-1.3.2a.tar.gz &&
mv installed/html2text-1.3.2a.tar.gz .
test ! -f html2text-1.3.2a.tar.gz &&
wget http://userpage.fu-berlin.de/~mbayer/tools/html2text-1.3.2a.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "html2text-*" -exec rm -r {} \;
tar xzvf ~/html2text-1.3.2a.tar.gz
cd html2text-1.3.2a
test $UID = 0 && chown -R root:root .
./configure
make