# uudeview 0.5pl20
# ================
# Prerequisites:
# sendmail (optional; for 'uuenview -m')
# inews (optional; for 'uuenview -p')
# tcl/tk (optional; for the xdeview frontend)
cd
test -f installed/uudeview-0.5.20.tar.gz &&
mv installed/uudeview-0.5.20.tar.gz .
test ! -f uudeview-0.5.20.tar.gz &&
wget http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "uudeview-*" -exec rm -r {} \;
tar xzvf ~/uudeview-0.5.20.tar.gz
cd uudeview-0.5.20
test $UID = 0 && chown -R root:root .
./configure
make
su -c "make install"
cd
mkdir -p -m 0700 installed
rm -f installed/uudeview-*.tar.*
mv uudeview-0.5.20.tar.gz installed/
# If you ever need to uninstall uudeview, run:
su
( cd /usr/local/bin ; rm -f uudeview uuenview )
( cd /usr/local/man/man1 ; rm -f uudeview.1 uuenview.1 )
exit