# psiconv
# =======
# I include the latest 0.9.x and 0.8.x releases below. I'd stick with
# 0.9.x unless you use something that doesn't support it yet.
# psiconv 0.8.3
# =============
cd
test -f installed/psiconv-0.8.3.tar.gz && mv installed/psiconv-0.8.3.tar.gz .
test ! -f psiconv-0.8.3.tar.gz &&
wget http://software.frodo.looijaard.name/psiconv/files/\
psiconv-0.8.3.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "psiconv-*" -exec rm -r {} \;
tar xzvf ~/psiconv-0.8.3.tar.gz
cd psiconv-0.8.3
test $UID = 0 && chown -R root:root .
./configure --enable-html4-docs --enable-ascii-docs
# Open up formats/generate_html4.sh and fix this line (line 8):
# if ! test -d "$1"/psiconv ; then
# to look like this:
# if ! test -d "$1"/program ; then
make
# Become root to install it
su
rm -f /usr/local/lib/libpsiconv.*
make install
ldconfig