]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Update for Salome 6.3.0
authorinv <inv@opencascade.com>
Fri, 8 Apr 2011 07:41:35 +0000 (07:41 +0000)
committerinv <inv@opencascade.com>
Fri, 8 Apr 2011 07:41:35 +0000 (07:41 +0000)
14 files changed:
config_Debian_4.0.xml
config_Debian_4.0_64bit.xml
config_Debian_5.0_64bit.xml
config_Debian_6.0_64bit.xml
config_Mandriva_2008.0.xml
config_Mandriva_2008.0_64bit.xml
config_Mandriva_2010.0.xml
config_Mandriva_2010.0_64bit.xml
config_Red_Hat_Enterprise_WS_4_64bit.xml
config_Scientific_SL_5.1_64bit.xml
config_files/med-3.0.0.sh [deleted file]
config_files/med-3.0.1.sh [new file with mode: 0755]
config_files/xdata-0.7.3.sh [deleted file]
config_files/xdata-0.9.1.sh [new file with mode: 0755]

index 1fa3cb2d763b9bfbefee5652fa767d48b129325d..3fa915ba29ee757d0e32c4e58df3ad7f37a6a29e 100755 (executable)
             type="component"
              description="Python module for types declaration in python classes">
       <installation os="Debian 4.0"
-                    version="0.7.3
+                    version="0.9.1
                    disable="false"
                    installdiskspace="5615,51450,17231"
-                   script="xdata-0.7.3.sh"/>
+                   script="xdata-0.9.1.sh"/>
     </product>
     <product name="HXX2SALOME"
             type="component"
     </product>
     <product name="OpenCascade" 
             type="prerequisite"
-             description="Open CASCADE version 6.3sp11">
+             description="Open CASCADE version 6.3sp12">
       <installation os="Debian 4.0"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="false"
                    installdiskspace="34168,23512,158888"
-                   script="CAS-6.3sp11.sh"/>
+                   script="CAS-6.3sp12.sh"/>
     </product>
     <product name="PatchForOpenCascade" 
             type="prerequisite"
-             description="Patch for Open CASCADE version 6.3sp11">
+             description="Patch for Open CASCADE version 6.3sp12">
       <installation os="Debian 4.0"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="true"
                    installdiskspace="241631,268394,1222169"
-                   script="CAS-6.3sp11-patch.sh"/>
+                   script="CAS-6.3sp12-patch.sh"/>
     </product>
     <product name="Qwt" 
             type="prerequisite"
             type="prerequisite"
             description="MED format interface library">
       <installation os="Debian 4.0"
-                    version="3.0.0
+                    version="3.0.1
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="med-3.0.0.sh"/>
+                   script="med-3.0.1.sh"/>
     </product>
     <product name="Metis"
             type="prerequisite"
index 8879714b050834c1f6ed9bc7315a069b296b1314..e527d26592b47f36e8f8b34127e2c8d6ec480064 100755 (executable)
             type="component"
              description="Python module for types declaration in python classes">
       <installation os="Debian 4.0 64bit"
-                    version="0.7.3
+                    version="0.9.1
                    disable="false"
                    installdiskspace="5615,51450,17231"
-                   script="xdata-0.7.3.sh"/>
+                   script="xdata-0.9.1.sh"/>
     </product>
     <product name="HXX2SALOME"
             type="component"
     </product>
     <product name="OpenCascade" 
             type="prerequisite"
-             description="Open CASCADE version 6.3sp11">
+             description="Open CASCADE version 6.3sp12">
       <installation os="Debian 4.0 64bit"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="false"
                    installdiskspace="34168,23512,158888"
-                   script="CAS-6.3sp11.sh"/>
+                   script="CAS-6.3sp12.sh"/>
     </product>
     <product name="PatchForOpenCascade" 
             type="prerequisite"
-             description="Patch for Open CASCADE version 6.3sp11">
+             description="Patch for Open CASCADE version 6.3sp12">
       <installation os="Debian 4.0 64bit"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="true"
                    installdiskspace="241631,268394,1222169"
-                   script="CAS-6.3sp11-patch.sh"/>
+                   script="CAS-6.3sp12-patch.sh"/>
     </product>
     <product name="Qwt" 
             type="prerequisite"
             type="prerequisite"
             description="MED format interface library">
       <installation os="Debian 4.0 64bit"
-                    version="3.0.0
+                    version="3.0.1
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="med-3.0.0.sh"/>
+                   script="med-3.0.1.sh"/>
     </product>
     <product name="Metis"
             type="prerequisite"
index 40d1ccb07973918dae146a56c0dd28c78b8b47c6..356648ced249407fe103df908f938a685024affc 100755 (executable)
             type="component"
              description="Python module for types declaration in python classes">
       <installation os="Debian 5.0 64bit"
-                    version="0.7.3
+                    version="0.9.1
                    disable="false"
                    installdiskspace="5615,51450,17231"
-                   script="xdata-0.7.3.sh"/>
+                   script="xdata-0.9.1.sh"/>
     </product>
     <product name="HXX2SALOME"
             type="component"
     </product>
     <product name="OpenCascade" 
             type="prerequisite"
-             description="Open CASCADE version 6.3sp11">
+             description="Open CASCADE version 6.3sp12">
       <installation os="Debian 5.0 64bit"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="false"
                    installdiskspace="34168,23512,158888"
-                   script="CAS-6.3sp11.sh"/>
+                   script="CAS-6.3sp12.sh"/>
     </product>
     <product name="PatchForOpenCascade" 
             type="prerequisite"
-             description="Patch for Open CASCADE version 6.3sp11">
+             description="Patch for Open CASCADE version 6.3sp12">
       <installation os="Debian 5.0 64bit"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="true"
                    installdiskspace="241631,268394,1222169"
-                   script="CAS-6.3sp11-patch.sh"/>
+                   script="CAS-6.3sp12-patch.sh"/>
     </product>
     <product name="Qwt" 
             type="prerequisite"
             type="prerequisite"
             description="MED format interface library">
       <installation os="Debian 5.0 64bit"
-                    version="3.0.0
+                    version="3.0.1
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="med-3.0.0.sh"/>
+                   script="med-3.0.1.sh"/>
     </product>
     <product name="Metis"
             type="prerequisite"
index 6028705fc8ba64dfa7c91bf836efbef6ba35512e..cc33369af7b85f9897337aa189a3db91ebba9617 100755 (executable)
             type="component"
              description="Python module for types declaration in python classes">
       <installation os="Debian 6.0 64bit"
-                    version="0.7.3
+                    version="0.9.1
                    disable="false"
                    installdiskspace="5615,51450,17231"
-                   script="xdata-0.7.3.sh"/>
+                   script="xdata-0.9.1.sh"/>
     </product>
     <product name="HXX2SALOME"
             type="component"
     </product>
     <product name="OpenCascade" 
             type="prerequisite"
-             description="Open CASCADE version 6.3sp11">
+             description="Open CASCADE version 6.3sp12">
       <installation os="Debian 6.0 64bit"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="false"
                    installdiskspace="34168,23512,158888"
-                   script="CAS-6.3sp11.sh"/>
+                   script="CAS-6.3sp12.sh"/>
     </product>
     <product name="PatchForOpenCascade" 
             type="prerequisite"
-             description="Patch for Open CASCADE version 6.3sp11">
+             description="Patch for Open CASCADE version 6.3sp12">
       <installation os="Debian 6.0 64bit"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="true"
                    installdiskspace="241631,268394,1222169"
-                   script="CAS-6.3sp11-patch.sh"/>
+                   script="CAS-6.3sp12-patch.sh"/>
     </product>
     <product name="Qwt" 
             type="prerequisite"
             type="prerequisite"
             description="MED format interface library">
       <installation os="Debian 6.0 64bit"
-                    version="3.0.0
+                    version="3.0.1
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="med-3.0.0.sh"/>
+                   script="med-3.0.1.sh"/>
     </product>
     <product name="Metis"
             type="prerequisite"
index a73d2230da4536ec30a771b32fb05751e6df0a86..43fa047ec506f589e108fc67833623d53d98607e 100755 (executable)
             type="component"
              description="Python module for types declaration in python classes">
       <installation os="Mandriva 2008.0"
-                    version="0.7.3
+                    version="0.9.1
                    disable="false"
                    installdiskspace="5615,51450,17231"
-                   script="xdata-0.7.3.sh"/>
+                   script="xdata-0.9.1.sh"/>
     </product>
     <product name="HXX2SALOME"
             type="component"
     </product>
     <product name="OpenCascade" 
             type="prerequisite"
-             description="Open CASCADE version 6.3sp11">
+             description="Open CASCADE version 6.3sp12">
       <installation os="Mandriva 2008.0"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="false"
                    installdiskspace="34168,23512,158888"
-                   script="CAS-6.3sp11.sh"/>
+                   script="CAS-6.3sp12.sh"/>
     </product>
     <product name="PatchForOpenCascade" 
             type="prerequisite"
-             description="Patch for Open CASCADE version 6.3sp11">
+             description="Patch for Open CASCADE version 6.3sp12">
       <installation os="Mandriva 2008.0"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="true"
                    installdiskspace="241631,268394,1222169"
-                   script="CAS-6.3sp11-patch.sh"/>
+                   script="CAS-6.3sp12-patch.sh"/>
     </product>
     <product name="Qwt" 
             type="prerequisite"
             type="prerequisite"
             description="MED format interface library">
       <installation os="Mandriva 2008.0"
-                    version="3.0.0
+                    version="3.0.1
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="med-3.0.0.sh"/>
+                   script="med-3.0.1.sh"/>
     </product>
     <product name="Metis"
             type="prerequisite"
index 47ca0cd4b5c33e841b577d82e79ea53400db45d5..2d7a53cfbe9b376cd4c6eb15495041fb221c2013 100755 (executable)
             type="component"
              description="Python module for types declaration in python classes">
       <installation os="Mandriva 2008.0 64bit"
-                    version="0.7.3
+                    version="0.9.1
                    disable="false"
                    installdiskspace="5615,51450,17231"
-                   script="xdata-0.7.3.sh"/>
+                   script="xdata-0.9.1.sh"/>
     </product>
     <product name="HXX2SALOME"
             type="component"
     </product>
     <product name="OpenCascade" 
             type="prerequisite"
-             description="Open CASCADE version 6.3sp11">
+             description="Open CASCADE version 6.3sp12">
       <installation os="Mandriva 2008.0 64bit"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="false"
                    installdiskspace="34168,23512,158888"
-                   script="CAS-6.3sp11.sh"/>
+                   script="CAS-6.3sp12.sh"/>
     </product>
     <product name="PatchForOpenCascade" 
             type="prerequisite"
-             description="Patch for Open CASCADE version 6.3sp11">
+             description="Patch for Open CASCADE version 6.3sp12">
       <installation os="Mandriva 2008.0 64bit"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="true"
                    installdiskspace="241631,268394,1222169"
-                   script="CAS-6.3sp11-patch.sh"/>
+                   script="CAS-6.3sp12-patch.sh"/>
     </product>
     <product name="Qwt" 
             type="prerequisite"
             type="prerequisite"
             description="MED format interface library">
       <installation os="Mandriva 2008.0 64bit"
-                    version="3.0.0
+                    version="3.0.1
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="med-3.0.0.sh"/>
+                   script="med-3.0.1.sh"/>
     </product>
     <product name="Metis"
             type="prerequisite"
index 8bea61f17a2eab1e1567531aee2f8a512c9ff123..2e301340fc5625030bededb9a0aa51317ae79884 100755 (executable)
             type="component"
              description="Python module for types declaration in python classes">
       <installation os="Mandriva 2010.0"
-                    version="0.7.3
+                    version="0.9.1
                    disable="false"
                    installdiskspace="5615,51450,17231"
-                   script="xdata-0.7.3.sh"/>
+                   script="xdata-0.9.1.sh"/>
     </product>
     <product name="HXX2SALOME"
             type="component"
     </product>
     <product name="OpenCascade" 
             type="prerequisite"
-             description="Open CASCADE version 6.3sp11">
+             description="Open CASCADE version 6.3sp12">
       <installation os="Mandriva 2010.0"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="false"
                    installdiskspace="34168,23512,158888"
-                   script="CAS-6.3sp11.sh"/>
+                   script="CAS-6.3sp12.sh"/>
     </product>
     <product name="PatchForOpenCascade" 
             type="prerequisite"
-             description="Patch for Open CASCADE version 6.3sp11">
+             description="Patch for Open CASCADE version 6.3sp12">
       <installation os="Mandriva 2010.0"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="true"
                    installdiskspace="241631,268394,1222169"
-                   script="CAS-6.3sp11-patch.sh"/>
+                   script="CAS-6.3sp12-patch.sh"/>
     </product>
     <product name="Qwt" 
             type="prerequisite"
             type="prerequisite"
             description="MED format interface library">
       <installation os="Mandriva 2010.0"
-                    version="3.0.0
+                    version="3.0.1
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="med-3.0.0.sh"/>
+                   script="med-3.0.1.sh"/>
     </product>
     <product name="Metis"
             type="prerequisite"
                    installdiskspace="5615,51450,17231"
                    script="blsurf-2.7.12.sh"/>
     </product>
-    <product name="libxml2" 
-            type="prerequisite"
-             description="XML C parser">
-      <installation os="Mandriva 2010.0"
-                    version="2.7.8" 
-                   disable="false"
-                   installdiskspace="14740,43504,81544"
-                   script="libxml2-2.7.8.sh"/>
-    </product>
   </products>
   <dependencies>
     <product name="KERNEL">
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>libxml2</dep>
       <dep>libBatch</dep>
     </product>
     <product name="GUI">
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>libxml2</dep>
       <dep>KERNEL</dep>
     </product>
     <product name="GEOM">
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>libxml2</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
     </product>
       <dep>docutils</dep>
       <dep>Sphinx</dep>
       <dep>QScintilla</dep>
-      <dep>libxml2</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
     </product>
     <product name="docutils">
       <dep>Python</dep>
     </product>
-    <product name="libxml2">
-      <dep>Python</dep>
-    </product>    
     <product name="netgen">
       <dep>OpenCascade</dep>
     </product>
index c295d697a6969aefee738200b1d4294d337b0442..50485907d16576754433961c9910eb65644176aa 100755 (executable)
             type="component"
              description="Python module for types declaration in python classes">
       <installation os="Mandriva 2010.0 64bit"
-                    version="0.7.3
+                    version="0.9.1
                    disable="false"
                    installdiskspace="5615,51450,17231"
-                   script="xdata-0.7.3.sh"/>
+                   script="xdata-0.9.1.sh"/>
     </product>
     <product name="HXX2SALOME"
             type="component"
     </product>
     <product name="OpenCascade" 
             type="prerequisite"
-             description="Open CASCADE version 6.3sp11">
+             description="Open CASCADE version 6.3sp12">
       <installation os="Mandriva 2010.0 64bit"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="false"
                    installdiskspace="34168,23512,158888"
-                   script="CAS-6.3sp11.sh"/>
+                   script="CAS-6.3sp12.sh"/>
     </product>
     <product name="PatchForOpenCascade" 
             type="prerequisite"
-             description="Patch for Open CASCADE version 6.3sp11">
+             description="Patch for Open CASCADE version 6.3sp12">
       <installation os="Mandriva 2010.0 64bit"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="true"
                    installdiskspace="241631,268394,1222169"
-                   script="CAS-6.3sp11-patch.sh"/>
+                   script="CAS-6.3sp12-patch.sh"/>
     </product>
     <product name="Qwt" 
             type="prerequisite"
             type="prerequisite"
             description="MED format interface library">
       <installation os="Mandriva 2010.0 64bit"
-                    version="3.0.0
+                    version="3.0.1
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="med-3.0.0.sh"/>
+                   script="med-3.0.1.sh"/>
     </product>
     <product name="Metis"
             type="prerequisite"
                    installdiskspace="5615,51450,17231"
                    script="blsurf-2.7.12.sh"/>
     </product>
-    <product name="libxml2" 
-            type="prerequisite"
-             description="XML C parser">
-      <installation os="Mandriva 2010.0 64bit"
-                    version="2.7.8" 
-                   disable="false"
-                   installdiskspace="14740,43504,81544"
-                   script="libxml2-2.7.8.sh"/>
-    </product>
   </products>
   <dependencies>
     <product name="KERNEL">
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>libxml2</dep>
       <dep>libBatch</dep>
     </product>
     <product name="GUI">
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>libxml2</dep>
       <dep>KERNEL</dep>
     </product>
     <product name="GEOM">
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>libxml2</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
     </product>
       <dep>docutils</dep>
       <dep>Sphinx</dep>
       <dep>QScintilla</dep>
-      <dep>libxml2</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
     </product>
     <product name="docutils">
       <dep>Python</dep>
     </product>
-    <product name="libxml2">
-      <dep>Python</dep>
-    </product>    
     <product name="netgen">
       <dep>OpenCascade</dep>
     </product>
index 56010325f8b0d09a8728bf3342584962c6c2fef1..0b4507a55013e735e6f6f432b88eee7d78ce8842 100755 (executable)
             type="component"
              description="Python module for types declaration in python classes">
       <installation os="Red Hat Enterprise WS 4 64bit"
-                    version="0.7.3
+                    version="0.9.1
                    disable="false"
                    installdiskspace="5615,51450,17231"
-                   script="xdata-0.7.3.sh"/>
+                   script="xdata-0.9.1.sh"/>
     </product>
     <product name="HXX2SALOME"
             type="component"
     </product>
     <product name="OpenCascade" 
             type="prerequisite"
-             description="Open CASCADE version 6.3sp11">
+             description="Open CASCADE version 6.3sp12">
       <installation os="Red Hat Enterprise WS 4 64bit"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="false"
                    installdiskspace="34168,23512,158888"
-                   script="CAS-6.3sp11.sh"/>
+                   script="CAS-6.3sp12.sh"/>
     </product>
     <product name="PatchForOpenCascade" 
             type="prerequisite"
-             description="Patch for Open CASCADE version 6.3sp11">
+             description="Patch for Open CASCADE version 6.3sp12">
       <installation os="Red Hat Enterprise WS 4 64bit"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="true"
                    installdiskspace="241631,268394,1222169"
-                   script="CAS-6.3sp11-patch.sh"/>
+                   script="CAS-6.3sp12-patch.sh"/>
     </product>
     <product name="Qwt" 
             type="prerequisite"
             type="prerequisite"
             description="MED format interface library">
       <installation os="Red Hat Enterprise WS 4 64bit"
-                    version="3.0.0
+                    version="3.0.1
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="med-3.0.0.sh"/>
+                   script="med-3.0.1.sh"/>
     </product>
     <product name="Metis"
             type="prerequisite"
index f1c4664b0fb38fc2b10390771a85bd0728e80974..f41a29bd406badb030a144fc96db220db4184f80 100755 (executable)
             type="component"
              description="Python module for types declaration in python classes">
       <installation os="Scientific SL 5.1 64bit"
-                    version="0.7.3
+                    version="0.9.1
                    disable="false"
                    installdiskspace="5615,51450,17231"
-                   script="xdata-0.7.3.sh"/>
+                   script="xdata-0.9.1.sh"/>
     </product>
     <product name="HXX2SALOME"
             type="component"
     </product>
     <product name="OpenCascade" 
             type="prerequisite"
-             description="Open CASCADE version 6.3sp11">
+             description="Open CASCADE version 6.3sp12">
       <installation os="Scientific SL 5.1 64bit"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="false"
                    installdiskspace="34168,23512,158888"
-                   script="CAS-6.3sp11.sh"/>
+                   script="CAS-6.3sp12.sh"/>
     </product>
     <product name="PatchForOpenCascade" 
             type="prerequisite"
-             description="Patch for Open CASCADE version 6.3sp11">
+             description="Patch for Open CASCADE version 6.3sp12">
       <installation os="Scientific SL 5.1 64bit"
-                    version="6.3sp11
+                    version="6.3sp12
                    disable="true"
                    installdiskspace="241631,268394,1222169"
-                   script="CAS-6.3sp11-patch.sh"/>
+                   script="CAS-6.3sp12-patch.sh"/>
     </product>
     <product name="Qwt" 
             type="prerequisite"
             type="prerequisite"
             description="MED format interface library">
       <installation os="Scientific SL 5.1 64bit"
-                    version="3.0.0
+                    version="3.0.1
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="med-3.0.0.sh"/>
+                   script="med-3.0.1.sh"/>
     </product>
     <product name="Metis"
             type="prerequisite"
diff --git a/config_files/med-3.0.0.sh b/config_files/med-3.0.0.sh
deleted file mode 100755 (executable)
index 29609ad..0000000
+++ /dev/null
@@ -1,232 +0,0 @@
-#!/bin/bash -noprofile
-
-####################################################################################
-#  File      : med-3.0.0.sh
-#  Created   : Thu Dec 18 12:01:00 2002
-#  Author    : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
-#  Project   : SALOME
-#  Module    : Installation Wizard
-#  Copyright : 2002-2008 CEA
-#
-#  This script is the part of the SALOME installation procedure.
-#
-####################################################################################
-
-check_version()
-{
-if [ -z "$MED2HOME" ]; then
-   #echo "MED2HOME doesn't set"
-   return 1
-fi
-check_lib_version libmed.so.1.1.2 ${MED2HOME}/lib
-if [ "$?" -eq "0" ]; then
-   #echo "The product ${PRODUCT} has been already installed on yours system"
-   return 0
-fi
-return 1
-}
-
-print_env_bin()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export MED2HOME=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
-export PATH=\${MED2HOME}/bin:\${PATH}
-export LD_LIBRARY_PATH=\${MED2HOME}/lib:\${LD_LIBRARY_PATH}
-##
-EOF
-(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
-}
-
-print_env_src()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <<EOF
-#$DELIM ${PRODUCT_TYPE}_src $DELIM
-# nothing to do
-##
-EOF
-(test -w ${PRODUCT_SRC_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh ${PRODUCT_SRC_DIR})
-make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
-}
-
-try_preinstalled(){
-try_existing ${PRODUCT_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
-try_existing ${PRODUCT_SRC_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
-return $?
-}
-
-install_source()
-{
-make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
-source ${INSTALL_WORK}/$SHRC
-
-# unpack
-check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${INST_ROOT}
-
-# to generate environment scripts
-try_preinstalled
-}
-
-install_source_and_build()
-{
-# install sources
-install_source
-
-# build sources
-cd ${PRODUCT_SRC_DIR}
-test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
-
-#vsr: provide additional flags for f95 (Mandriva 2006.0, Fedora Core 4)
-is_mandriva2006=0
-is_mandriva2007=0
-is_mandriva2008=0
-is_debian40=0
-is_fedora4=0
-is_fedora6=0
-
-if [ -e /etc/issue ] ; then
-  grep -e "Mandriva Linux release 2006.0" /etc/issue > /dev/null
-  if [ $? == 0 ] ; then is_mandriva2006=1 ; fi
-  grep -e "Mandriva Linux release 2007.0" /etc/issue > /dev/null
-  if [ $? == 0 ] ; then is_mandriva2007=1 ; fi
-  grep -e "Mandriva Linux release 2008.0" /etc/issue > /dev/null
-  if [ $? == 0 ] ; then is_mandriva2008=1 ; fi
-  grep -e "Debian GNU/Linux 4.0" /etc/issue > /dev/null
-  if [ $? == 0 ] ; then is_debian40=1 ; fi
-  grep -e "Fedora Core release 4" /etc/issue > /dev/null
-  if [ $? == 0 ] ; then is_fedora4=1 ; fi
-  grep -e "Fedora Core release 6" /etc/issue > /dev/null
-  if [ $? == 0 ] ; then is_fedora6=1 ; fi
-fi
-
-if [ $is_mandriva2006 == 1 ] ; then
-chmod +w ./Makefile.am
-mv Makefile.am Makefile.am.orig
-sed -e 's/include src tests tools doc/include src tools doc/g' Makefile.am.orig > Makefile.am
-chmod +w ./Makefile.in
-mv Makefile.in Makefile.in.orig
-sed -e 's/include src tests tools doc/include src tools doc/g' Makefile.in.orig > Makefile.in
-fi
-
-if [ $is_mandriva2006 == 1 ] || [ $is_mandriva2007 == 1 ]  || [ $is_mandriva2008 == 1 ] || [ $is_fedora4 == 1 ] || [ $is_fedora6 == 1 ] || [ $is_debian40 == 1 ] ; then
-    if test `uname -m` = "x86_64" ; then
-       if [ $is_mandriva2006 == 1 ] ; then     
-    echo "`pwd` -> ./configure --prefix=${PRODUCT_DIR} --disable-mesgerr FFLAGS='-g -O2 -fPIC' CFLAGS=-m64 CXXFLAGS=-m64 >> ${PRODUCT_DIR}/CONFIGURE.LOG"
-    ./configure --prefix=${PRODUCT_DIR} --disable-mesgerr FFLAGS="-g -O2 -fPIC" CFLAGS=-m64 CXXFLAGS=-m64 >> ${PRODUCT_DIR}/CONFIGURE.LOG 2> ${PRODUCT_SRC_DIR}/errlog
-       else
-    echo "`pwd` -> ./configure --prefix=${PRODUCT_DIR} --disable-mesgerr FFLAGS='-g -O2' CFLAGS=-m64 CXXFLAGS=-m64 >> ${PRODUCT_DIR}/CONFIGURE.LOG"
-    ./configure --prefix=${PRODUCT_DIR} --disable-mesgerr FFLAGS="-g -O2" CFLAGS=-m64 CXXFLAGS=-m64 >> ${PRODUCT_DIR}/CONFIGURE.LOG 2> ${PRODUCT_SRC_DIR}/errlog
-       fi
-    else
-    echo "`pwd` -> ./configure --prefix=${PRODUCT_DIR} --disable-mesgerr FFLAGS='-g -O2' >> ${PRODUCT_DIR}/CONFIGURE.LOG"
-    ./configure --prefix=${PRODUCT_DIR} --disable-mesgerr FFLAGS="-g -O2" >> ${PRODUCT_DIR}/CONFIGURE.LOG 2> ${PRODUCT_SRC_DIR}/errlog
-    fi
-    if [ "$?" -ne "0" ] ; then
-      cat ${PRODUCT_DIR}/CONFIGURE.LOG
-      cat ${PRODUCT_SRC_DIR}/errlog >&2
-      cat ${PRODUCT_SRC_DIR}/errlog >> ${PRODUCT_DIR}/CONFIGURE.LOG
-      exit 1
-    fi
-else
-    check_job ${PRODUCT_DIR}/CONFIGURE.LOG ./configure --prefix=${PRODUCT_DIR} --disable-mesgerr 
-fi
-
-GCC=`which gcc`
-cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
-used gcc=$GCC
-EOF
-
-check_job ${PRODUCT_DIR}/MAKE.LOG make
-check_job ${PRODUCT_DIR}/INSTALL.LOG make install
-
-cd ${PRODUCT_DIR}/lib
-
-sed -e "s%\(.*\)\([[:space:]].*-L.*/med-[0-9]\.[0-9]\.[0-9]_SRC/src[[:space:]]\)\(.*\)%\1 \3%g" libmedimport.la > libmedimport.la.new
-mv -f libmedimport.la.new libmedimport.la
-
-chmod 755 libmedimport.la
-
-cd ${PRODUCT_DIR};
-
-# remove sources and temporary files after building
-if [ ${REMOVE_SRC_TMP} == "TRUE" ] ; then
-    test -d ${PRODUCT_SRC_DIR} && rm -fr ${PRODUCT_SRC_DIR}
-fi
-
-# to generate environment scripts
-try_preinstalled
-}
-
-install_binary()
-{
-make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-# create a product directory
-test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
-
-check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${PRODUCT_DIR}
-
-### modify libmed.la libmedC.la files to correct direct path to hdf5 library
-### also modify libmed.la and libmedC.la files to correct direct path to med libraries
-### no need to do this for sources installation because 'make install' does it!
-cd ${PRODUCT_DIR}/lib
-sed -e 's%\(.*\)\([[:space:]].*libhdf5.la\)\(.*\)%\1 -lhdf5\3%g' -e "s%^libdir='\(.*\)'%libdir='${PRODUCT_DIR}/lib'%g" libmed.la > libmed.la.new
-mv -f libmed.la.new libmed.la
-sed -e 's%\(.*\)\([[:space:]].*libhdf5.la\)\(.*\)%\1 -lhdf5\3%g' -e "s%^libdir='\(.*\)'%libdir='${PRODUCT_DIR}/lib'%g" libmedC.la > libmedC.la.new
-mv -f libmedC.la.new libmedC.la
-sed -e 's%\(.*\)\([[:space:]].*libhdf5.la\)\(.*\)%\1 -lhdf5\3%g' -e "s%^libdir='\(.*\)'%libdir='${PRODUCT_DIR}/lib'%g" libmedimport.la > libmedimport.la.new
-mv -f libmedimport.la.new libmedimport.la
-sed -e 's%\(.*\)\([[:space:]].*libhdf5.la\)\(.*\)%\1 -lhdf5\3%g' -e "s%^libdir='\(.*\)'%libdir='${PRODUCT_DIR}/lib'%g" libmedimportcxx.la > libmedimportcxx.la.new
-mv -f libmedimportcxx.la.new libmedimportcxx.la
-
-tmp=""
-if [ -n "${HDF5HOME}" ]; then
-    tmp="-L${HDF5HOME}/lib"
-fi
-sed -e "s%\(.*\)\([[:space:]].*-L.*/hdf5-[0-9]\.[0-9]\.[0-9]/lib[[:space:]]\)\(.*\)%\1 $tmp \3%g" libmed.la > libmed.la.new
-mv -f libmed.la.new libmed.la
-sed -e "s%\(.*\)\([[:space:]].*-L.*/hdf5-[0-9]\.[0-9]\.[0-9]/lib[[:space:]]\)\(.*\)%\1 $tmp \3%g" libmedC.la > libmedC.la.new
-mv -f libmedC.la.new libmedC.la
-
-sed -e "s%\(.*\)\([[:space:]].*-L.*/hdf5-[0-9]\.[0-9]\.[0-9]/lib[[:space:]]\)\(.*\)%\1 $tmp \3%g" libmedimport.la > libmedimport.la.new
-mv -f libmedimport.la.new libmedimport.la
-
-sed -e "s%\(.*\)\([[:space:]].*/med-[0-9]\.[0-9]\.[0-9]/lib/libmed.la[[:space:]]\)\(.*\)%\1 ${PRODUCT_DIR}/lib/libmed.la \3%g" libmedimport.la > libmedimport.la.new
-mv -f libmedimport.la.new libmedimport.la
-
-sed -e "s%\(.*\)\([[:space:]].*-L.*/med-[0-9]\.[0-9]\.[0-9]_SRC/src[[:space:]]\)\(.*\)%\1 \3%g" libmedimport.la > libmedimport.la.new
-mv -f libmedimport.la.new libmedimport.la
-
-chmod 755 libmed.la
-chmod 755 libmedC.la
-chmod 755 libmedimport.la
-
-### modify scripts to correct installation path
-cd ${PRODUCT_DIR}/bin
-sed -e "s%set cmd \".*/bin/mdump\"%set cmd \"${PRODUCT_DIR}/bin/mdump\"%g" xmdump > _xmdump
-mv _xmdump xmdump
-chmod a+x xmdump
-
-# to generate environment script for sources
-try_preinstalled
-}
-
-export PROCEDURE=$1;
-export INSTALL_WORK=$2;
-export SOURCE_DIR=$3;
-export INST_ROOT=$4;
-export PRODUCT_SEQUENCE=$5;
-export PRODUCT_TYPE=$6;
-export INSTALL_PRODUCTS=$7;
-shift
-REMOVE_SRC_TMP=$8;
-shift
-SINGLE_DIR=$9
-export PRODUCT="med-3.0.0"
-export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
-export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT}_SRC
-source ./common.sh
-$PROCEDURE 
diff --git a/config_files/med-3.0.1.sh b/config_files/med-3.0.1.sh
new file mode 100755 (executable)
index 0000000..c3d1cd4
--- /dev/null
@@ -0,0 +1,232 @@
+#!/bin/bash -noprofile
+
+####################################################################################
+#  File      : med-3.0.1.sh
+#  Created   : Thu Dec 18 12:01:00 2002
+#  Author    : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
+#  Project   : SALOME
+#  Module    : Installation Wizard
+#  Copyright : 2002-2008 CEA
+#
+#  This script is the part of the SALOME installation procedure.
+#
+####################################################################################
+
+check_version()
+{
+if [ -z "$MED2HOME" ]; then
+   #echo "MED2HOME doesn't set"
+   return 1
+fi
+check_lib_version libmed.so.1.1.2 ${MED2HOME}/lib
+if [ "$?" -eq "0" ]; then
+   #echo "The product ${PRODUCT} has been already installed on yours system"
+   return 0
+fi
+return 1
+}
+
+print_env_bin()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export MED2HOME=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
+export PATH=\${MED2HOME}/bin:\${PATH}
+export LD_LIBRARY_PATH=\${MED2HOME}/lib:\${LD_LIBRARY_PATH}
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
+}
+
+print_env_src()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <<EOF
+#$DELIM ${PRODUCT_TYPE}_src $DELIM
+# nothing to do
+##
+EOF
+(test -w ${PRODUCT_SRC_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh ${PRODUCT_SRC_DIR})
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
+try_existing ${PRODUCT_SRC_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
+return $?
+}
+
+install_source()
+{
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
+source ${INSTALL_WORK}/$SHRC
+
+# unpack
+check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${INST_ROOT}
+
+# to generate environment scripts
+try_preinstalled
+}
+
+install_source_and_build()
+{
+# install sources
+install_source
+
+# build sources
+cd ${PRODUCT_SRC_DIR}
+test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
+
+#vsr: provide additional flags for f95 (Mandriva 2006.0, Fedora Core 4)
+is_mandriva2006=0
+is_mandriva2007=0
+is_mandriva2008=0
+is_debian40=0
+is_fedora4=0
+is_fedora6=0
+
+if [ -e /etc/issue ] ; then
+  grep -e "Mandriva Linux release 2006.0" /etc/issue > /dev/null
+  if [ $? == 0 ] ; then is_mandriva2006=1 ; fi
+  grep -e "Mandriva Linux release 2007.0" /etc/issue > /dev/null
+  if [ $? == 0 ] ; then is_mandriva2007=1 ; fi
+  grep -e "Mandriva Linux release 2008.0" /etc/issue > /dev/null
+  if [ $? == 0 ] ; then is_mandriva2008=1 ; fi
+  grep -e "Debian GNU/Linux 4.0" /etc/issue > /dev/null
+  if [ $? == 0 ] ; then is_debian40=1 ; fi
+  grep -e "Fedora Core release 4" /etc/issue > /dev/null
+  if [ $? == 0 ] ; then is_fedora4=1 ; fi
+  grep -e "Fedora Core release 6" /etc/issue > /dev/null
+  if [ $? == 0 ] ; then is_fedora6=1 ; fi
+fi
+
+if [ $is_mandriva2006 == 1 ] ; then
+chmod +w ./Makefile.am
+mv Makefile.am Makefile.am.orig
+sed -e 's/include src tests tools doc/include src tools doc/g' Makefile.am.orig > Makefile.am
+chmod +w ./Makefile.in
+mv Makefile.in Makefile.in.orig
+sed -e 's/include src tests tools doc/include src tools doc/g' Makefile.in.orig > Makefile.in
+fi
+
+if [ $is_mandriva2006 == 1 ] || [ $is_mandriva2007 == 1 ]  || [ $is_mandriva2008 == 1 ] || [ $is_fedora4 == 1 ] || [ $is_fedora6 == 1 ] || [ $is_debian40 == 1 ] ; then
+    if test `uname -m` = "x86_64" ; then
+       if [ $is_mandriva2006 == 1 ] ; then     
+    echo "`pwd` -> ./configure --prefix=${PRODUCT_DIR} --disable-mesgerr FFLAGS='-g -O2 -fPIC' CFLAGS=-m64 CXXFLAGS=-m64 >> ${PRODUCT_DIR}/CONFIGURE.LOG"
+    ./configure --prefix=${PRODUCT_DIR} --disable-mesgerr FFLAGS="-g -O2 -fPIC" CFLAGS=-m64 CXXFLAGS=-m64 >> ${PRODUCT_DIR}/CONFIGURE.LOG 2> ${PRODUCT_SRC_DIR}/errlog
+       else
+    echo "`pwd` -> ./configure --prefix=${PRODUCT_DIR} --disable-mesgerr FFLAGS='-g -O2' CFLAGS=-m64 CXXFLAGS=-m64 >> ${PRODUCT_DIR}/CONFIGURE.LOG"
+    ./configure --prefix=${PRODUCT_DIR} --disable-mesgerr FFLAGS="-g -O2" CFLAGS=-m64 CXXFLAGS=-m64 >> ${PRODUCT_DIR}/CONFIGURE.LOG 2> ${PRODUCT_SRC_DIR}/errlog
+       fi
+    else
+    echo "`pwd` -> ./configure --prefix=${PRODUCT_DIR} --disable-mesgerr FFLAGS='-g -O2' >> ${PRODUCT_DIR}/CONFIGURE.LOG"
+    ./configure --prefix=${PRODUCT_DIR} --disable-mesgerr FFLAGS="-g -O2" >> ${PRODUCT_DIR}/CONFIGURE.LOG 2> ${PRODUCT_SRC_DIR}/errlog
+    fi
+    if [ "$?" -ne "0" ] ; then
+      cat ${PRODUCT_DIR}/CONFIGURE.LOG
+      cat ${PRODUCT_SRC_DIR}/errlog >&2
+      cat ${PRODUCT_SRC_DIR}/errlog >> ${PRODUCT_DIR}/CONFIGURE.LOG
+      exit 1
+    fi
+else
+    check_job ${PRODUCT_DIR}/CONFIGURE.LOG ./configure --prefix=${PRODUCT_DIR} --disable-mesgerr 
+fi
+
+GCC=`which gcc`
+cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
+used gcc=$GCC
+EOF
+
+check_job ${PRODUCT_DIR}/MAKE.LOG make
+check_job ${PRODUCT_DIR}/INSTALL.LOG make install
+
+cd ${PRODUCT_DIR}/lib
+
+sed -e "s%\(.*\)\([[:space:]].*-L.*/med-[0-9]\.[0-9]\.[0-9]_SRC/src[[:space:]]\)\(.*\)%\1 \3%g" libmedimport.la > libmedimport.la.new
+mv -f libmedimport.la.new libmedimport.la
+
+chmod 755 libmedimport.la
+
+cd ${PRODUCT_DIR};
+
+# remove sources and temporary files after building
+if [ ${REMOVE_SRC_TMP} == "TRUE" ] ; then
+    test -d ${PRODUCT_SRC_DIR} && rm -fr ${PRODUCT_SRC_DIR}
+fi
+
+# to generate environment scripts
+try_preinstalled
+}
+
+install_binary()
+{
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+# create a product directory
+test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
+
+check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${PRODUCT_DIR}
+
+### modify libmed.la libmedC.la files to correct direct path to hdf5 library
+### also modify libmed.la and libmedC.la files to correct direct path to med libraries
+### no need to do this for sources installation because 'make install' does it!
+cd ${PRODUCT_DIR}/lib
+sed -e 's%\(.*\)\([[:space:]].*libhdf5.la\)\(.*\)%\1 -lhdf5\3%g' -e "s%^libdir='\(.*\)'%libdir='${PRODUCT_DIR}/lib'%g" libmed.la > libmed.la.new
+mv -f libmed.la.new libmed.la
+sed -e 's%\(.*\)\([[:space:]].*libhdf5.la\)\(.*\)%\1 -lhdf5\3%g' -e "s%^libdir='\(.*\)'%libdir='${PRODUCT_DIR}/lib'%g" libmedC.la > libmedC.la.new
+mv -f libmedC.la.new libmedC.la
+sed -e 's%\(.*\)\([[:space:]].*libhdf5.la\)\(.*\)%\1 -lhdf5\3%g' -e "s%^libdir='\(.*\)'%libdir='${PRODUCT_DIR}/lib'%g" libmedimport.la > libmedimport.la.new
+mv -f libmedimport.la.new libmedimport.la
+sed -e 's%\(.*\)\([[:space:]].*libhdf5.la\)\(.*\)%\1 -lhdf5\3%g' -e "s%^libdir='\(.*\)'%libdir='${PRODUCT_DIR}/lib'%g" libmedimportcxx.la > libmedimportcxx.la.new
+mv -f libmedimportcxx.la.new libmedimportcxx.la
+
+tmp=""
+if [ -n "${HDF5HOME}" ]; then
+    tmp="-L${HDF5HOME}/lib"
+fi
+sed -e "s%\(.*\)\([[:space:]].*-L.*/hdf5-[0-9]\.[0-9]\.[0-9]/lib[[:space:]]\)\(.*\)%\1 $tmp \3%g" libmed.la > libmed.la.new
+mv -f libmed.la.new libmed.la
+sed -e "s%\(.*\)\([[:space:]].*-L.*/hdf5-[0-9]\.[0-9]\.[0-9]/lib[[:space:]]\)\(.*\)%\1 $tmp \3%g" libmedC.la > libmedC.la.new
+mv -f libmedC.la.new libmedC.la
+
+sed -e "s%\(.*\)\([[:space:]].*-L.*/hdf5-[0-9]\.[0-9]\.[0-9]/lib[[:space:]]\)\(.*\)%\1 $tmp \3%g" libmedimport.la > libmedimport.la.new
+mv -f libmedimport.la.new libmedimport.la
+
+sed -e "s%\(.*\)\([[:space:]].*/med-[0-9]\.[0-9]\.[0-9]/lib/libmed.la[[:space:]]\)\(.*\)%\1 ${PRODUCT_DIR}/lib/libmed.la \3%g" libmedimport.la > libmedimport.la.new
+mv -f libmedimport.la.new libmedimport.la
+
+sed -e "s%\(.*\)\([[:space:]].*-L.*/med-[0-9]\.[0-9]\.[0-9]_SRC/src[[:space:]]\)\(.*\)%\1 \3%g" libmedimport.la > libmedimport.la.new
+mv -f libmedimport.la.new libmedimport.la
+
+chmod 755 libmed.la
+chmod 755 libmedC.la
+chmod 755 libmedimport.la
+
+### modify scripts to correct installation path
+cd ${PRODUCT_DIR}/bin
+sed -e "s%set cmd \".*/bin/mdump\"%set cmd \"${PRODUCT_DIR}/bin/mdump\"%g" xmdump > _xmdump
+mv _xmdump xmdump
+chmod a+x xmdump
+
+# to generate environment script for sources
+try_preinstalled
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INST_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+export PRODUCT_TYPE=$6;
+export INSTALL_PRODUCTS=$7;
+shift
+REMOVE_SRC_TMP=$8;
+shift
+SINGLE_DIR=$9
+export PRODUCT="med-3.0.1"
+export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT}_SRC
+source ./common.sh
+$PROCEDURE 
diff --git a/config_files/xdata-0.7.3.sh b/config_files/xdata-0.7.3.sh
deleted file mode 100755 (executable)
index 55cd6c8..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-#!/bin/bash -noprofile
-
-####################################################################################
-#  File      : xdata-0.7.3.sh
-#  Created   : Thu Dec 18 12:01:00 2002
-#  Author    : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
-#  Project   : SALOME
-#  Module    : Installation Wizard
-#  Copyright : 2002-2008 CEA
-#
-#  This script is the part of the SALOME installation procedure.
-#
-####################################################################################
-
-check_version(){
-# No way to check version!
-return 0
-}
-
-print_env_bin()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM 
-export XDATAROOT=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
-export PATH=\${XDATAROOT}/bin:\${PATH}
-export PYTHON_VERSION=\`python -c "import sys; print sys.version[:3]"\`
-export PYTHONPATH=\${XDATAROOT}/lib/python\${PYTHON_VERSION}/site-packages/xdata:\${PYTHONPATH}
-##
-EOF
-(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
-}
-
-print_env_src()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <<EOF
-#$DELIM ${PRODUCT_TYPE}_src $DELIM
-# nothing to do
-##
-EOF
-(test -w ${PRODUCT_SRC_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh ${PRODUCT_SRC_DIR})
-make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
-}
-
-try_preinstalled(){
-try_existing ${PRODUCT_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
-try_existing ${PRODUCT_SRC_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
-return $?
-}
-
-install_source()
-{
-make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SRC_DIR}/${PRODUCT}.tar.gz -C ${INST_ROOT}
-
-# to generate environment scripts
-try_preinstalled
-}
-
-install_source_and_build()
-{
-# install sources
-install_source
-
-# build sources
-
-cd ${PRODUCT_SRC_DIR}
-test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
-
-check_job ${PRODUCT_DIR}/CONFIGURE.LOG \
-  ./configure --prefix=${PRODUCT_DIR} 
-GCC=`which gcc`
-cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
-used gcc=$GCC
-EOF
-check_job ${PRODUCT_DIR}/MAKE.LOG make
-check_job ${PRODUCT_DIR}/INSTALL.LOG make install
-
-cd ${PRODUCT_DIR};
-
-# remove sources and temporary files after building
-if [ ${REMOVE_SRC_TMP} == "TRUE" ] ; then
-    test -d ${PRODUCT_SRC_DIR} && rm -fr ${PRODUCT_SRC_DIR}
-fi
-
-# to generate environment scripts
-try_preinstalled
-}
-
-install_binary()
-{
-make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-# create a module directory
-test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
-
-check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${PRODUCT_DIR}
-
-# to generate environment scripts
-try_preinstalled
-}
-
-source ./common.sh
-
-export PROCEDURE=$1;
-export INSTALL_WORK=$2;
-export SOURCE_DIR=$3;
-export INST_ROOT=$4;
-export PRODUCT_SEQUENCE=$5;
-export PRODUCT_TYPE=$6;
-export INSTALL_PRODUCTS=$7;
-SRC_DIR=$8;
-shift
-REMOVE_SRC_TMP=$8;
-shift
-SINGLE_DIR=$9;
-if [ -n "$SINGLE_DIR" ] ; then SINGLE_DIR=$SDIR_NAME; fi
-export PRODUCT="xdata-0.7.3"
-export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
-export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT}_SRC
-$PROCEDURE
diff --git a/config_files/xdata-0.9.1.sh b/config_files/xdata-0.9.1.sh
new file mode 100755 (executable)
index 0000000..d2f280f
--- /dev/null
@@ -0,0 +1,124 @@
+#!/bin/bash -noprofile
+
+####################################################################################
+#  File      : xdata-0.9.1.sh
+#  Created   : Thu Dec 18 12:01:00 2002
+#  Author    : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
+#  Project   : SALOME
+#  Module    : Installation Wizard
+#  Copyright : 2002-2008 CEA
+#
+#  This script is the part of the SALOME installation procedure.
+#
+####################################################################################
+
+check_version(){
+# No way to check version!
+return 0
+}
+
+print_env_bin()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM 
+export XDATAROOT=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
+export PATH=\${XDATAROOT}/bin:\${PATH}
+export PYTHON_VERSION=\`python -c "import sys; print sys.version[:3]"\`
+export PYTHONPATH=\${XDATAROOT}/lib/python\${PYTHON_VERSION}/site-packages/xdata:\${PYTHONPATH}
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
+}
+
+print_env_src()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <<EOF
+#$DELIM ${PRODUCT_TYPE}_src $DELIM
+# nothing to do
+##
+EOF
+(test -w ${PRODUCT_SRC_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh ${PRODUCT_SRC_DIR})
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
+try_existing ${PRODUCT_SRC_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
+return $?
+}
+
+install_source()
+{
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SRC_DIR}/${PRODUCT}.tar.gz -C ${INST_ROOT}
+
+# to generate environment scripts
+try_preinstalled
+}
+
+install_source_and_build()
+{
+# install sources
+install_source
+
+# build sources
+
+cd ${PRODUCT_SRC_DIR}
+test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
+
+check_job ${PRODUCT_DIR}/CONFIGURE.LOG \
+  ./configure --prefix=${PRODUCT_DIR} 
+GCC=`which gcc`
+cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
+used gcc=$GCC
+EOF
+check_job ${PRODUCT_DIR}/MAKE.LOG make
+check_job ${PRODUCT_DIR}/INSTALL.LOG make install
+
+cd ${PRODUCT_DIR};
+
+# remove sources and temporary files after building
+if [ ${REMOVE_SRC_TMP} == "TRUE" ] ; then
+    test -d ${PRODUCT_SRC_DIR} && rm -fr ${PRODUCT_SRC_DIR}
+fi
+
+# to generate environment scripts
+try_preinstalled
+}
+
+install_binary()
+{
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+# create a module directory
+test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
+
+check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${PRODUCT_DIR}
+
+# to generate environment scripts
+try_preinstalled
+}
+
+source ./common.sh
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INST_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+export PRODUCT_TYPE=$6;
+export INSTALL_PRODUCTS=$7;
+SRC_DIR=$8;
+shift
+REMOVE_SRC_TMP=$8;
+shift
+SINGLE_DIR=$9;
+if [ -n "$SINGLE_DIR" ] ; then SINGLE_DIR=$SDIR_NAME; fi
+export PRODUCT="xdata-0.9.1"
+export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
+export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT}_SRC
+$PROCEDURE