Ignore:
Timestamp:
2001-05-16T12:28:16+12:00 (23 years ago)
Author:
jrm21
Message:

pdftohtml now needs to be configured.
wv now installs its config files into $GSDLHOME/etc (previously it stayed
in the source directory...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/packages/configure

    r2380 r2421  
    66cd $PACKAGES
    77GSDLOS=`uname | tr A-Z a-z`
    8 # bindir can be overridden on command line.
    9 bindir=$GSDLHOME/bin/$GSDLOS
     8prefix=""
     9bindir=""
    1010
    1111USE_CORBA=false
     
    4040        MICO_DIR=$1
    4141        ;;       
     42    --prefix=*)
     43        prefix=`echo $1 | sed s/--prefix=//`
     44        ;;
    4245    --bindir=*)
     46        # where to install binaries to
    4347        bindir=`echo $1 | sed s/--bindir=//`
    4448        if test -d $bindir ; then
     
    6367done
    6468
     69# note! Our GSDL package currently always installs into it's source
     70# directory, ignoring any --prefix given to configure.
     71# When this is fixed, uncomment the relevant lines below...
     72
     73##if test -z "$prefix" ; then
     74prefix="${GSDLHOME}"
     75##fi
     76
     77##if test -z "$bindir" ; then
     78bindir="${prefix}/bin/$GSDLOS"
     79##fi
     80
     81
     82
    6583# we assume that gzip and tar are on the search path.
    6684# non-GNU versions of tar don't take the -z option.
    6785
    6886
    69 echo USE_CORBA = $USE_CORBA
    70 echo MICO_DIR = $MICO_DIR
     87#echo USE_CORBA = $USE_CORBA
     88#echo MICO_DIR = $MICO_DIR
     89
    7190if test $USE_CORBA = true ; then
    7291  if test $MICO_DIR = default; then
     
    106125gzip -dc wv-0.6.3-gs.tar.gz | tar -xf -
    107126cd wv-gs
    108 ./configure $CACHE_FILE --prefix=$PACKAGES/wv --bindir="$bindir"
     127./configure $CACHE_FILE --prefix=$PACKAGES/wv --bindir="$bindir" --datadir="$prefix/etc"
    109128
    110129# configure the pdftohtml converter
     
    115134cd "$PACKAGES/pdftohtml"
    116135gzip -dc pdftohtml_gs.tar.gz | tar -xf -
     136cd pdftohtml_0_22
     137./configure $CACHE_FILE --prefix="$prefix" --bindir="$bindir"
    117138
    118139
Note: See TracChangeset for help on using the changeset viewer.