#!/bin/sh CWD=`pwd` TMP=/tmp cd $TMP echo "Building htdig-3.1.5.tar.gz..." tar xzvf $CWD/htdig-3.1.5.tar.gz cd htdig-3.1.5 mkdir -p /usr/doc/htdig-3.1.5 cp -a COPYING README contrib htdoc /usr/doc/htdig-3.1.5 chown -R root.root /usr/doc/htdig-3.1.5 # Let it use default directories... it should end up under /opt... ./configure i386-slackware-linux make make install mkdir -p /etc/profile.d cp -a $CWD/profile.d/* /etc/profile.d # KDevelop likes this link: cd /opt/www/htdig/bin rm -f htsearch ln -sf ../../cgi-bin/htsearch .