]> Creatis software - creaToolsTools.git/blobdiff - Linux/scripts/ThirdParty-install-Base-Stuff.sh
BUG unzip rpm install missing
[creaToolsTools.git] / Linux / scripts / ThirdParty-install-Base-Stuff.sh
index 214c92aad8f3bf34cfa57710ed1ea362bbedb73e..0ddc5de125f981640af44c2d66edb2cae7a95f58 100644 (file)
@@ -1,3 +1,27 @@
+# ---------------------------------------------------------------------
+#
+# 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 ]
@@ -71,12 +95,13 @@ then
      urpmi lib64wxgtk2.8-devel
      urpmi libwxgtk2.8-devel
      urpmi gcc-c++
-     urpmi cvs
+     urpmi git
      urpmi rpm-build
 
      ;;
   Fedora)
      yum install wget                 -y
+     yum install unzip                -y
      yum install cmake                -y
      yum install cmake-gui            -y
      yum install doxygen              -y
@@ -91,12 +116,13 @@ then
      yum install gcc                  -y
      yum install gcc-c++              -y
      yum install xerces-c-devel       -y
-     yum install cvs                  -y
+     yum install git                  -y
      yum install qtwebkit-devel       -y
 
      ;;
   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
@@ -111,6 +137,7 @@ then
      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
      ## CLAIRE - JGRR
      apt-get --yes install qt4-qmake #QT4 qmake
      apt-get --yes install libsqlite0-dev