3 if [ ! -f $PWD/scripts/CreaTools-configure.sh ]
7 echo "==================================================="
10 echo "YOU NEED TO RUN 'Configure' (0) First !"
11 echo "==================================================="
18 source $PWD/scripts/CreaTools-configure.sh
21 echo $PWD/scripts/CreaTools-configure.sh
22 echo --generationdir--
26 echo --docgeneration--
28 echo --installPrefix--
30 echo --installPrefixThird--
31 echo $installPrefixThird
38 # echo --sourcesFrom--
42 # echo --start_point--
47 sourcesDir=$generationdir/thirdparty_sources
48 binDir=$generationdir/thirdparty_bin
50 if [ ! -e $generationdir ]
53 chown $loginUserName $generationdir
54 chgrp $loginGroupName $generationdir
56 if [ ! -e $sourcesDir ]
60 #chown $loginUserName:$loginGroupName $sourcesDir
61 chown $loginUserName $sourcesDir
62 chgrp $loginGroupName $sourcesDir
68 chown $loginUserName $binDir
69 chgrp $loginGroupName $binDir
73 # Third Party base stuff is now installed by ThirdParty-install-Base-Stuff.sh JPR
76 # the following stupid test is used at debug time; Please don't remove!
80 rm -rf $sourcesDir/tth*
84 if [ $OperatingSystem = "MacOS" ]
86 # curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/VTK-5.6.1.patchCreatis.tar.gz
87 # curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/gdcm_05_Mai_2011.tar.gz
88 # curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/InsightToolkit-3.20.0.tar.gz
89 curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_Developer_Tools/All_Versions/tth/tth_linux/tth
90 # MacOS, clever enough to understand it *has* to uncompress, doesn't understand tar -z :-(
91 # tar -xvf VTK-5.6.1.patchCreatis.tar.gz
92 # tar -xvf gdcm_05_Mai_2011.tar.gz
93 # tar -xvf InsightToolkit-3.20.0.tar.gz
95 # wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/VTK-5.6.1.patchCreatis.tar.gz
96 # wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/gdcm_05_Mai_2011.tar.gz
97 # wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/InsightToolkit-3.20.0.tar.gz
98 wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_Developer_Tools/All_Versions/tth/tth_linux/tth
100 # tar -xvzf VTK-5.6.1.patchCreatis.tar.gz
101 #tar -xvzf gdcm_05_Mai_2011.tar.gz
102 #tar -xvzf InsightToolkit-3.20.0.tar.gz
108 if [ $buildType = "Debug" ]
119 # pourquoi ne copie-t-on plus? JPR
120 cp tth $installPrefixThird/bin