Changeset 2169 for trunk/gsdl/packages/configure
- Timestamp:
- 2001-03-13T17:52:33+13:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/packages/configure
r2133 r2169 6 6 cd $PACKAGES 7 7 GSDLOS=`uname | tr A-Z a-z` 8 # bindir can be overridden on command line. 8 9 bindir=$GSDLHOME/bin/$GSDLOS 9 10 … … 33 34 ;; 34 35 --bindir=*) 35 bindira=`echo $1 | sed s/--bindir=//` 36 # turn relative path into an absolute path 37 bindir=`echo $bindira | sed 's@/[^/]*$@@'` 38 bindir=`cd $bindir 2>/dev/null && pwd` 39 bindirb=`echo $bindira | sed 's@.*/@@'` 40 bindir="$bindir/$bindirb" 36 bindir=`echo $1 | sed s/--bindir=//` 37 if test -d $bindir ; then 38 bindir=`cd $bindir ; pwd ` 39 cd "$PACKAGES" 40 elif test -z `echo $bindir | sed '/^\// p;D'` ; then 41 # turn relative path into an absolute path 42 rel_bindir=`echo $bindir | sed s@/.*@@` 43 cd $rel_bindir 44 bindir=`pwd`/`echo $bindir | sed s@^[^/]*/@@` 45 cd "$PACKAGES" 46 else 47 # bindir doesn't exist, and isn't relative 48 true 49 fi 41 50 ;; 42 51 *) … … 47 56 done 48 57 49 if test -n "$USE_CORBA"; then 50 # configure the MICO CORBA ORB 58 # we assume that gzip and tar are on the search path. 59 # non-GNU versions of tar don't take the -z option. 60 61 51 62 echo "" 52 63 echo "Configuring MICO CORBA" 64 if test x$USE_CORBA = xtrue ; then 65 # configure the MICO CORBA ORB 53 66 echo "" 54 67 55 68 cd "$PACKAGES/mico" 56 tar -xzf mico-2.3.5.tar.gz69 gzip -dc mico-2.3.5.tar.gz | tar -xf - 57 70 cd mico 58 71 ./configure $CACHE_FILE --prefix=$PACKAGES/mico/ --disable-coss --disable-naming --disable-relship --disable-events --disable-streams --disable-property --disable-trader --disable-time --disable-debug --enable-optimize --enable-final --enable-speed-tune 59 72 sed 's/tools//' $PACKAGES/mico/mico/Makefile | sed 's/ldconfig//' >$PACKAGES/mico/mico/Makefile.out 60 73 mv $PACKAGES/mico/mico/Makefile.out $PACKAGES/mico/mico/Makefile 74 else 75 echo "corba support disabled - mico compiler not required." 76 echo " add '--enable-corba' to the configure command to include corba support." 77 echo "" 61 78 fi 79 62 80 63 81 … … 70 88 71 89 cd "$PACKAGES/wv" 72 tar -xzf wv-0.6.3-gs.tar.gz 90 gzip -dc wv-0.6.3-gs.tar.gz | tar -xf - 73 91 cd wv-gs 74 ./configure $CACHE_FILE --prefix=$PACKAGES/wv --bindir= $bindir92 ./configure $CACHE_FILE --prefix=$PACKAGES/wv --bindir="$bindir" 75 93 76 94 # configure the pdftohtml converter … … 80 98 81 99 cd "$PACKAGES/pdftohtml" 82 tar -xzf pdftohtml_0_22_gs.tar.gz 100 gzip -dc pdftohtml_0_22_gs.tar.gz | tar -xf - 83 101 cd pdftohtml_0_22 84 102 … … 86 104 echo "" 87 105 echo "Configuring YAZ" 88 if test x "$USE_Z3950" = "xtrue";106 if test x$USE_Z3950 = xtrue ; 89 107 then 90 108 echo "" … … 104 122 tar -xzf wget.tar.gz 105 123 cd $PACKAGES/wget/wget-1.5.3 106 ./configure $CACHE_FILE --prefix=$PACKAGES/wget --bindir=$bindir 124 ./configure $CACHE_FILE --prefix=$PACKAGES/wget --bindir="$bindir" 125 126 127
Note:
See TracChangeset
for help on using the changeset viewer.