- ;;
- Ubuntu)
- apt-get --yes install build-essential # esta linea instala las librerias necesarias para compilar en ubuntu, g++ gcc etc etc etc.
- apt-get --yes install git
- apt-get --yes install cmake
- apt-get --yes install cmake-gui
- apt-get --yes install cmake-curses-gui
- apt-get --yes install doxygen
- apt-get --yes install graphviz
- apt-get --yes install texlive
- apt-get --yes install latex2html
- apt-get --yes install libgtk2.0-dev #GTK
- apt-get --yes install libwxgtk2.8-dev #Wx GTK
- apt-get --yes install libwxbase2.8-dev #Wx solito
- apt-get --yes install wx-common #wxrc
- apt-get --yes install libboost-dev #Boost
- apt-get --yes install libboost-all-dev #Boost
- apt-get --yes install libqt4-dev #QT4
- apt-get --yes install libxerces-c-dev
- apt-get --yes install patch
- ## CLAIRE - JGRR
- apt-get --yes install qt4-qmake #QT4 qmake
- apt-get --yes install libsqlite0-dev
- apt-get --yes install libsqlite3-dev
- apt-get --yes install libosmesa6-dev #Mesa6
- apt-get --yes install uuid-dev # uuid para la instalacion de itk
- apt-get --yes install libxaw7-dev # X11
- ;;
- MacOS)
- port selfupdate
- port install cmake -y
- port install doxygen -y
- port install graphviz -y
- # port install tetex -y (replaced by texlive) # cf EED : http://www.creatis.insa-lyon.fr/site/fr/CreatoolsInstallInstructionsv2.0.1MacOsv10.5.6-Developpers
- port install texlive -y
- port install latex2html -y
- port install wxGTK -y
- port install boost -y
- ln -s libboost_signals-xgcc40-mt-1_38.dylib libboost_signals.dylib /opt/local/lib # cf EED : http://www.creatis.insa-lyon.fr/site
- ln -s libboost_signals-xgcc40-mt-1_38.dylib libboost_signals.dylib /opt/local/lib # cf EED
- ln -s libboost_filesystem-xgcc40-mt-1_38.dylib libboost_filesystem.dylib /opt/local/lib # cf EE
- ln -s libboost_system-xgcc40-mt-1_38.dylib libboost_system.dylib /opt/local/lib # cf EE
- port install sqlite3 -y
- port install qt4-mac -y
- ln -s qmake-mac qmake /opt/local/bin # cf EED
- port install mesa -y
- ;;
- *)
- echo " '$OperatingSystem' : Unknown (for us...) Operating Sytem "
- echo " Allowed values are (right now) Fedora, Ubuntu, MacOS "
- exit 0
- ;;
- esac
-fi