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
37 # echo --sourcesFrom--
41 # 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
57 if [ ! -e $sourcesDir ]
61 #chown $loginUserName:$loginGroupName $sourcesDir
62 chown $loginUserName $sourcesDir
63 chgrp $loginGroupName $sourcesDir
69 chown $loginUserName $binDir
70 chgrp $loginGroupName $binDir
75 # Third Party base stuff is now installed by ThirdParty-install-Base-Stuff.sh JPR
80 # the following stupid test is used at debug time; Please don't remove!
85 rm -rf $sourcesDir/tth*
89 if [ $OperatingSystem = "MacOS" ]
91 # curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/VTK-5.6.1.patchCreatis.tar.gz
92 # curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/gdcm_05_Mai_2011.tar.gz
93 # curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/InsightToolkit-3.20.0.tar.gz
94 curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_Developer_Tools/All_Versions/tth/tth_linux/tth
95 # MacOS, clever enough to understand it *has* to uncompress, doesn't understand tar -z :-(
96 # tar -xvf VTK-5.6.1.patchCreatis.tar.gz
97 # tar -xvf gdcm_05_Mai_2011.tar.gz
98 # tar -xvf InsightToolkit-3.20.0.tar.gz
100 # wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/VTK-5.6.1.patchCreatis.tar.gz
101 # wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/gdcm_05_Mai_2011.tar.gz
102 # wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/InsightToolkit-3.20.0.tar.gz
103 wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_Developer_Tools/All_Versions/tth/tth_linux/tth
105 # tar -xvzf VTK-5.6.1.patchCreatis.tar.gz
106 #tar -xvzf gdcm_05_Mai_2011.tar.gz
107 #tar -xvzf InsightToolkit-3.20.0.tar.gz
113 if [ $buildType = "Debug" ]
125 # pourquoi ne copie-t-on plus? JPR
126 cp tth $installPrefixThird/bin