cd
test -f installed/dillo-0.8.6.tar.bz2 &&
mv installed/dillo-0.8.6.tar.bz2 .
test ! -f dillo-0.8.6.tar.bz2 &&
wget http://www.dillo.org/download/dillo-0.8.6.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "dillo-*" -exec rm -r {} \;
tar xjvf ~/dillo-0.8.6.tar.bz2
cd dillo-0.8.6
test $UID = 0 && chown -R root:root .
# If you want to build in SSL support and have OpenSSL installed under
# the usual source-installed location: /usr/local/ssl, pass these before
# configure:
# LDFLAGS=-L/usr/local/ssl/lib CPPFLAGS=-I/usr/local/ssl/include \
#
# My version of FLTK 2.x (2.0.x-r5274) appears to be too new for Dillo
# 0.8.6 and CVS hasn't been updated in a while, so for now I'm passing
# --disable-dlgui to skip the FLTK-based part
#
# This is how I ran configure to build it:
# LDFLAGS=-L/usr/local/ssl/lib CPPFLAGS=-I/usr/local/ssl/include \
# ./configure --disable-dlgui
./configure
make
su -c "make install"
cd
mkdir -p -m 0700 installed
rm -f installed/dillo-*.tar.*
mv dillo-0.8.6.tar.bz2 installed/
# If you ever need to uninstall dillo, cd into it's source directory
# and run 'make uninstall', then remove the source and tarball