Changeset 18955


Ignore:
Timestamp:
04/14/09 16:46:15 (12 years ago)
Author:
davidb
Message:

Further iteration of scripts to compile up necessary support packages for video extension

Location:
extensions/gsdl-video/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/gsdl-video/trunk/cascade-make/lib/cascade-lib.bash

    r18425 r18955  
     1
     2if test -z $GSDLOS ; then
     3  GSDLOS=`uname -s | tr '[A-Z]' '[a-z]'`
     4  # check for running bash under cygwin
     5  if test "`echo $GSDLOS | sed 's/cygwin//'`" != "$GSDLOS" ;
     6  then
     7    GSDLOS=windows
     8  fi
     9  export GSDLOS
     10fi
     11
    112
    213run_untar()
  • extensions/gsdl-video/trunk/setup.bash

    r18425 r18955  
    22extdesc="the Video Extension"
    33
     4source cascade-make/lib/cascade-lib.bash
     5
    46if [ "x$GEXTVIDEO" = "x" ] ; then
    5   # These will need to be edited to suit your installation
    6   export GEXT_VIDEO_SERVER=http://www.greenstone.org
    7   export GEXT_VIDEO_PREFIX=/greenstone-videostream
    8 
    9 
    107  export GEXTVIDEO=`pwd`
    118  export GEXTVIDEO_INSTALLED=$GEXTVIDEO/installed
    129
    13   export PATH=$GEXTVIDEO_INSTALLED/server/bin:$GEXTVIDEO_INSTALLED/cmdline/bin:$PATH
     10  export PATH=$GEXTVIDEO_INSTALLED/$GSDLOS/bin:$PATH
    1411
    1512  if [ "x$LD_LIBRARY_PATH" = "x" ] ; then
    16     export LD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/server/lib:$GEXTVIDEO_INSTALLED/cmdline/lib
     13    export LD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/$GSDLOS/lib
    1714  else
    18     export LD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/server/lib:$GEXTVIDEO_INSTALLED/cmdline/lib:$LD_LIBRARY_PATH
     15    export LD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/$GSDLOS/lib:$LD_LIBRARY_PATH
    1916  fi
    2017
    21   if [ -e "packages/devel" ] ; then
    22     export LD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/devel/lib:$LD_LIBRARY_PATH
     18  if [ -e "devel-srcpack" ] ; then
     19    export LD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/devel/$GSDLOS/lib:$LD_LIBRARY_PATH
    2320  fi
    2421
Note: See TracChangeset for help on using the changeset viewer.