Changeset 2019

Show
Ignore:
Timestamp:
20.02.2001 14:15:08 (19 years ago)
Author:
sjboddie
Message:

Altered wv and pdftohtml slightly so that they're installed to bin/$GSDLOS

Location:
trunk/gsdl/packages
Files:
1 added
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/packages/configure

    r1998 r2019  
    66cd $PACKAGES 
    77GSDLOS=`uname | tr A-Z a-z` 
     8bindir=$GSDLHOME/bin/$GSDLOS 
     9 
    810 
    911# parse any arguments given from toplevel configure 
     
    2729        USE_Z3950=true 
    2830        ;; 
     31    --bindir=*) 
     32        bindira=`echo $1 | sed s/--bindir=//` 
     33        # turn relative path into an absolute path 
     34        bindir=`echo $bindira | sed 's@/[^/]*$@@'` 
     35        bindir=`cd $bindir 2>/dev/null && pwd` 
     36        bindirb=`echo $bindira | sed 's@.*/@@'` 
     37        bindir="$bindir/$bindirb" 
     38        ;; 
    2939    *) 
    3040        # ignore all other options for now 
     
    4454tar -xzf wv-0.6.3-gs.tar.gz 
    4555cd wv-gs 
    46 ./configure $CACHE_FILE --prefix=$PACKAGES/wv 
     56./configure $CACHE_FILE --prefix=$PACKAGES/wv --bindir=$bindir 
    4757 
    4858# configure the pdftohtml converter 
     
    5262 
    5363cd "$PACKAGES/pdftohtml" 
    54 if test ! -d "./bin"; then 
    55     mkdir "./bin" 
    56 fi 
    5764tar -xzf pdftohtml_0_22_gs.tar.gz 
    5865cd pdftohtml_0_22 
     
    7986tar -xzf wget.tar.gz 
    8087cd $PACKAGES/wget/wget-1.5.3 
    81 ./configure $CACHE_FILE --prefix=$PACKAGES/wget --bindir=$GSDLHOME/bin/$GSDLOS 
     88./configure $CACHE_FILE --prefix=$PACKAGES/wget --bindir=$bindir