source: gs2-extensions/gsdl-video/trunk/setup.bash@ 21173

Last change on this file since 21173 was 21173, checked in by davidb, 13 years ago

No longer have top level 'installed' folder.

File size: 1012 bytes
Line 
1
2extdesc="the Video Extension"
3
4source cascade-make/lib/cascade-lib.bash
5
6if [ "x$GEXTVIDEO" = "x" ] ; then
7 export GEXTVIDEO=`pwd`
8 export GEXTVIDEO_INSTALLED=$GEXTVIDEO/$GSDLOS
9
10 export PATH=$GEXTVIDEO_INSTALLED/bin:$PATH
11
12 if [ "x$LD_LIBRARY_PATH" = "x" ] ; then
13 export LD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/lib
14 else
15 export LD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/lib:$LD_LIBRARY_PATH
16 fi
17 if [ "x$DYLD_LIBRARY_PATH" = "x" ] ; then
18 export DYLD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/lib
19 else
20 export DYLD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/lib:$DYLD_LIBRARY_PATH
21 fi
22
23 if [ -e "devel-srcpack" ] ; then
24 export LD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/devel/lib:$LD_LIBRARY_PATH
25 export DYLD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/devel/lib:$DYLD_LIBRARY_PATH
26 fi
27
28 if [ "x$GSDLEXTS" = "x" ] ; then
29 export GSDLEXTS=video
30 else
31 export GSDLEXTS=$GSDLEXTS:video
32 fi
33
34
35 echo "+Your environment is now setup for $extdesc"
36else
37 echo "+Your environment is already setup for $extdesc"
38fi
Note: See TracBrowser for help on using the repository browser.