cd $generationdir/creatools_source
wwwtargz=http://www.creatis.insa-lyon.fr/software/public/creatools/creaTools/nightly/
+
wget $wwwtargz/crea.tgz
wget $wwwtargz/bbtk.tgz
wget $wwwtargz/creaMaracasVisu.tgz
wget $wwwtargz/bbtkGEditor.tgz
wget $wwwtargz/creaTools.tgz
wget $wwwtargz/creaMiniTools.tgz
-
+
+ if [ $OperatingSystem = "MacOS" ]
+ then
+ curl $wwwtargz/crea.tgz
+ curl $wwwtargz/bbtk.tgz
+ curl $wwwtargz/creaMaracasVisu.tgz
+ curl $wwwtargz/creaEnvironment.tgz
+ curl $wwwtargz/creaBruker.tgz
+ curl $wwwtargz/creaImageIO.tgz
+ curl $wwwtargz/creaContours.tgz
+ curl $wwwtargz/creaRigidRegistration.tgz
+ curl $wwwtargz/bbtkGEditor.tgz
+ curl $wwwtargz/creaTools.tgz
+ curl $wwwtargz/creaMiniTools.tgz
+ else
tar xvzf crea.tgz
tar xvzf bbtk.tgz
tar xvzf creaMaracasVisu.tgz
tar xvzf bbtkGEditor.tgz
tar xvzf creaTools.tgz
tar xvzf creaMiniTools.tgz
+fi
rm -f *.tgz
fi
rm -rf $binDir/gdcm*
cd $sourcesDir
+
+ if [ $OperatingSystem = "MacOS" ]
+ then
+ curl http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/gdcm_05_Mai_2011.tar.gz
+ else
wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/gdcm_05_Mai_2011.tar.gz
-
+ fi
+
tar -xvzf gdcm_05_Mai_2011.tar.gz
fi
rm -rf $binDir/InsightToolkit*
rm -rf $binDir/VTK*
cd $sourcesDir
+
+ if [ $OperatingSystem = "MacOS" ]
+ then
+ curl http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/VTK-5.6.1.patchCreatis.tar.gz
+ curl http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/gdcm_05_Mai_2011.tar.gz
+ curl http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/InsightToolkit-3.20.0.tar.gz
+ curl http://www.creatis.insa-lyon.fr/software/public/creatools/crea_Developer_Tools/All_Versions/tth/tth_linux/tth
+else
wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/VTK-5.6.1.patchCreatis.tar.gz
wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/gdcm_05_Mai_2011.tar.gz
wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/InsightToolkit-3.20.0.tar.gz
wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_Developer_Tools/All_Versions/tth/tth_linux/tth
-
+fi
+
tar -xvzf VTK-5.6.1.patchCreatis.tar.gz
tar -xvzf gdcm_05_Mai_2011.tar.gz
tar -xvzf InsightToolkit-3.20.0.tar.gz