source: trunk/gsdl/packages/configure@ 1927

Last change on this file since 1927 was 1715, checked in by jrm21, 23 years ago

yaz library is now made by packages/Makefile instead of from src/recpt/Makefile

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
1#! /bin/sh
2
3PACKAGES=`pwd`
4cd ..
5GSDLHOME=`pwd`
6cd $PACKAGES
7GSDLOS=`uname | tr A-Z a-z`
8
9# parse any arguments given from toplevel configure
10while test $# -ne 0; do
11 case "$1" in
12 --cache-file=*)
13 cache_filename=`echo $1 | sed s/--cache-file=//`
14 # turn relative path into an absolute path
15 cache_dir=`echo $cache_filename | sed 's@/[^/]*$@@'`
16 cache_dir=`cd $cache_dir 2>/dev/null && pwd`
17
18 cache_basefile=`echo $cache_filename | sed 's@.*/@@'`
19 cache_file="$cache_dir/$cache_basefile"
20 if test ! -f "$cache_file"; then
21 CACHE_FILE=""
22 else
23 CACHE_FILE="--cache-file=$cache_file"
24 fi
25 ;;
26 *)
27 # ignore all other options for now
28 ;;
29 esac
30 shift
31done
32
33
34
35# configure the wvWare Word document converter
36echo ""
37echo "Configuring wvWare"
38echo ""
39
40cd "$PACKAGES/unix/wv"
41tar -xzf wv-0.6.0-gs.tar.gz
42cd wv-0.6.0-gs
43./configure $CACHE_FILE --prefix=$PACKAGES/unix/wv
44
45
46# YAZ Z39.50 toolkit
47echo ""
48echo "Configuring YAZ"
49echo ""
50cd "$PACKAGES/yaz"
51./configure $CACHE_FILE
52
53
54# configure wget
55echo ""
56echo "Configuring wget"
57echo ""
58cd $PACKAGES/wget
59tar -xzf wget.tar.gz
60cd $PACKAGES/wget/wget-1.5.3
61./configure $CACHE_FILE --prefix=$PACKAGES/wget --bindir=$GSDLHOME/bin/$GSDLOS
Note: See TracBrowser for help on using the repository browser.