+# ---------------------------------------------------------------------
+#
+# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
+# pour la Santé)
+# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
+#
+# This software is governed by the CeCILL-B license under French law and
+# abiding by the rules of distribution of free software. You can use,
+# modify and/ or redistribute the software under the terms of the CeCILL-B
+# license as circulated by CEA, CNRS and INRIA at the following URL
+# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
+# or in the file LICENSE.txt.
+#
+# As a counterpart to the access to the source code and rights to copy,
+# modify and redistribute granted by the license, users are provided only
+# with a limited warranty and the software's author, the holder of the
+# economic rights, and the successive licensors have only limited
+# liability.
+#
+# The fact that you are presently reading this means that you have had
+# knowledge of the CeCILL-B license and that you accept its terms.
+# ------------------------------------------------------------------------
+
+
#!/bin/bash
if [ ! -f $PWD/scripts/CreaTools-configure.sh ]
then
# ///\TODO what about SuSE? Debian? Mandriva? Gentoo?
case "$OperatingSystem" in
+ Mandriva)
+ urpmi cmake
+ urpmi cmake-qtgui
+ urpmi doxygen
+ urpmi graphviz
+ urpmi texlive
+ urpmi latex2html
+ urpmi libwxgtk2.8
+ urpmi lib64wxgtk2.8
+ urpmi boost-devel
+ urpmi sqlite-devel
+ urpmi qt4-common
+ urpmi libqt4-devel
+ urpmi lib64qt4-devel
+ #urpmi mesa-libOSMesa-devel
+ urpmi lib64mesagl1-devel
+ urpmi libmesagl1-devel
+ urpmi lib64xt-devel
+ urpmi libxt-devel
+ urpmi lib64wxgtk2.8-devel
+ urpmi libwxgtk2.8-devel
+ urpmi gcc-c++
+ urpmi cvs
+ urpmi rpm-build
+
+ ;;
Fedora)
+ yum install wget -y
yum install cmake -y
yum install cmake-gui -y
yum install doxygen -y
;;
MacOS)
port selfupdate
+
port install cmake -y
- port install doxygen -y
port install graphviz -y
+ port install doxygen -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