2 if [ ! -f $PWD/scripts/CreaTools-configure.sh ]
6 echo "==================================================="
9 echo "YOU NEED TO RUN 'Configure' (0) First !"
10 echo "==================================================="
17 source $PWD/scripts/CreaTools-configure.sh
20 echo $PWD/scripts/CreaTools-configure.sh
21 echo --generationdir--
25 echo --docgeneration--
27 echo --installPrefix--
29 echo --installPrefixThird--
30 echo $installPrefixThird
35 # echo --sourcesFrom--
39 # echo --start_point--
45 sourcesDir=$generationdir/thirdparty_sources
46 binDir=$generationdir/thirdparty_bin
48 if [ ! -e $generationdir ]
51 chown $loginUserName $generationdir
52 chgrp $loginGroupName $generationdir
55 if [ ! -e $sourcesDir ]
59 #chown $loginUserName:$loginGroupName $sourcesDir
60 chown $loginUserName $sourcesDir
61 chgrp $loginGroupName $sourcesDir
67 chown $loginUserName $binDir
68 chgrp $loginGroupName $binDir
73 # Third Party base stuff is now installed by ThirdParty-install-Base-Stuff.sh JPR
78 # the following stupid test is used at debug time; Please don't remove!
83 rm -rf $sourcesDir/tth*
87 if [ $OperatingSystem = "MacOS" ]
89 # curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/VTK-5.6.1.patchCreatis.tar.gz
90 # curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/gdcm_05_Mai_2011.tar.gz
91 # curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/InsightToolkit-3.20.0.tar.gz
92 curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_Developer_Tools/All_Versions/tth/tth_linux/tth
93 # MacOS, clever enough to understand it *has* to uncompress, doesn't understand tar -z :-(
94 # tar -xvf VTK-5.6.1.patchCreatis.tar.gz
95 # tar -xvf gdcm_05_Mai_2011.tar.gz
96 # tar -xvf InsightToolkit-3.20.0.tar.gz
98 # wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/VTK-5.6.1.patchCreatis.tar.gz
99 # wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/gdcm_05_Mai_2011.tar.gz
100 # wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/InsightToolkit-3.20.0.tar.gz
101 wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_Developer_Tools/All_Versions/tth/tth_linux/tth
103 # tar -xvzf VTK-5.6.1.patchCreatis.tar.gz
104 #tar -xvzf gdcm_05_Mai_2011.tar.gz
105 #tar -xvzf InsightToolkit-3.20.0.tar.gz
111 if [ $buildType = "Debug" ]
123 # pourquoi ne copie-t-on plus? JPR
124 cp tth $installPrefixThird/bin