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 |
|
---|
3 | PACKAGES=`pwd`
|
---|
4 | cd ..
|
---|
5 | GSDLHOME=`pwd`
|
---|
6 | cd $PACKAGES
|
---|
7 | GSDLOS=`uname | tr A-Z a-z`
|
---|
8 |
|
---|
9 | # parse any arguments given from toplevel configure
|
---|
10 | while 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
|
---|
31 | done
|
---|
32 |
|
---|
33 |
|
---|
34 |
|
---|
35 | # configure the wvWare Word document converter
|
---|
36 | echo ""
|
---|
37 | echo "Configuring wvWare"
|
---|
38 | echo ""
|
---|
39 |
|
---|
40 | cd "$PACKAGES/unix/wv"
|
---|
41 | tar -xzf wv-0.6.0-gs.tar.gz
|
---|
42 | cd wv-0.6.0-gs
|
---|
43 | ./configure $CACHE_FILE --prefix=$PACKAGES/unix/wv
|
---|
44 |
|
---|
45 |
|
---|
46 | # YAZ Z39.50 toolkit
|
---|
47 | echo ""
|
---|
48 | echo "Configuring YAZ"
|
---|
49 | echo ""
|
---|
50 | cd "$PACKAGES/yaz"
|
---|
51 | ./configure $CACHE_FILE
|
---|
52 |
|
---|
53 |
|
---|
54 | # configure wget
|
---|
55 | echo ""
|
---|
56 | echo "Configuring wget"
|
---|
57 | echo ""
|
---|
58 | cd $PACKAGES/wget
|
---|
59 | tar -xzf wget.tar.gz
|
---|
60 | cd $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.