#! /bin/sh PACKAGES=`pwd` cd .. GSDLHOME=`pwd` cd $PACKAGES GSDLOS=`uname | tr A-Z a-z` # parse any arguments given from toplevel configure while test $# -ne 0; do case "$1" in --cache-file=*) cache_filename=`echo $1 | sed s/--cache-file=//` # turn relative path into an absolute path cache_dir=`echo $cache_filename | sed 's@/[^/]*$@@'` cache_dir=`cd $cache_dir 2>/dev/null && pwd` cache_basefile=`echo $cache_filename | sed 's@.*/@@'` cache_file="$cache_dir/$cache_basefile" if test ! -f "$cache_file"; then CACHE_FILE="" else CACHE_FILE="--cache-file=$cache_file" fi ;; *) # ignore all other options for now ;; esac shift done # configure the wvWare Word document converter echo "" echo "Configuring wvWare" echo "" cd "$PACKAGES/unix/wv" tar -xzf wv-0.6.0-gs.tar.gz cd wv-0.6.0-gs ./configure $CACHE_FILE --prefix=$PACKAGES/unix/wv # YAZ Z39.50 toolkit echo "" echo "Configuring YAZ" echo "" cd "$PACKAGES/yaz" ./configure $CACHE_FILE # configure wget echo "" echo "Configuring wget" echo "" cd $PACKAGES/wget tar -xzf wget.tar.gz cd $PACKAGES/wget/wget-1.5.3 ./configure $CACHE_FILE --prefix=$PACKAGES/wget --bindir=$GSDLHOME/bin/$GSDLOS