]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Cascade 5.1.2
authorvsr <vsr@opencascade.com>
Thu, 18 Mar 2004 12:54:31 +0000 (12:54 +0000)
committervsr <vsr@opencascade.com>
Thu, 18 Mar 2004 12:54:31 +0000 (12:54 +0000)
config.xml
config_RedHat8_0.xml
config_files/CAS-5.1.2.sh [new file with mode: 0755]
config_files/CAS4.0.sh [deleted file]

index 8173cab2a0c4cea54b9007ac21b9ca01f806eb6e..5e97c58643080d27d80c5ed45c58a4adc3121974 100644 (file)
@@ -22,7 +22,7 @@
           disable="false"
           dependancies="gcc"
           installdiskspace="38069"
-          temporarydiskspace="44797"
+          temporarydiskspace="0"
           script="BOOST-1.30.2.sh"/>
   <product name="tcltk" 
            version="8.3.3" 
           temporarydiskspace="12308"
           script="SWIG-1.3.17.sh"/>
   <product name="OpenCascade" 
-           version="4.0
+           version="5.1.2
            install="install binaries"
           supported="install binaries"
           disable="false"
           dependancies=""
           installdiskspace="264302"
           temporarydiskspace="2"
-          script="CAS4.0.sh"/>
+          script="CAS-5.1.2.sh"/>
   <product name="Qwt" 
            version="0.4.1" 
            install="install binaries"
index 8173cab2a0c4cea54b9007ac21b9ca01f806eb6e..5e97c58643080d27d80c5ed45c58a4adc3121974 100644 (file)
@@ -22,7 +22,7 @@
           disable="false"
           dependancies="gcc"
           installdiskspace="38069"
-          temporarydiskspace="44797"
+          temporarydiskspace="0"
           script="BOOST-1.30.2.sh"/>
   <product name="tcltk" 
            version="8.3.3" 
           temporarydiskspace="12308"
           script="SWIG-1.3.17.sh"/>
   <product name="OpenCascade" 
-           version="4.0
+           version="5.1.2
            install="install binaries"
           supported="install binaries"
           disable="false"
           dependancies=""
           installdiskspace="264302"
           temporarydiskspace="2"
-          script="CAS4.0.sh"/>
+          script="CAS-5.1.2.sh"/>
   <product name="Qwt" 
            version="0.4.1" 
            install="install binaries"
diff --git a/config_files/CAS-5.1.2.sh b/config_files/CAS-5.1.2.sh
new file mode 100755 (executable)
index 0000000..4f8d303
--- /dev/null
@@ -0,0 +1,93 @@
+#!/bin/sh
+
+check_version()
+{
+#check existence of CAS-5.1.2
+#unfortunately we can't say nothing exactly about cascade 5.1.2
+#and we only check CASROOT env.variable
+if [ -n "$CASROOT" ]; then
+    #echo "You have installed version of CASCADE in a $CASROOT"
+    #echo "Please check version number (You need 5.1.2)"
+    return 0
+fi
+return 1
+}
+
+print_env()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export CASROOT=\${INSTALL_ROOT}/${PRODUCT}
+export LD_LIBRARY_PATH=\${CASROOT}/Linux/lib:\${CASROOT}/lin/lib:\${CASROOT}/`uname`/lib:\${LD_LIBRARY_PATH}
+# Variable for Foundation Classes : 
+export CSF_UnitsLexicon=\${CASROOT}/src/UnitsAPI/Lexi_Expr.dat 
+export CSF_UnitsDefinition=\${CASROOT}/src/UnitsAPI/Units.dat 
+# Variable for DataExchange : 
+export CSF_SHMessageStd=\${CASROOT}/src/SHMessageStd 
+export CSF_XSMessage=\${CASROOT}/src/XSMessage 
+# Variable for Font : 
+export CSF_MDTVFontDirectory=\${CASROOT}/src/FontMFT 
+export CSF_MDTVTexturesDirectory=\${CASROOT}/src/Textures 
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+}
+
+# looks for the native product and collects it's environment (used by make_env())
+try_native(){
+check_version
+if [ $? -eq 0 ] ; then
+    cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export CASROOT=${CASROOT}
+export LD_LIBRARY_PATH=\${CASROOT}/Linux/lib:\${CASROOT}/lin/lib:\${CASROOT}/`uname`/lib:\${LD_LIBRARY_PATH}
+# Variable for Foundation Classes : 
+export CSF_UnitsLexicon=\${CASROOT}/src/UnitsAPI/Lexi_Expr.dat 
+export CSF_UnitsDefinition=\${CASROOT}/src/UnitsAPI/Units.dat 
+# Variable for DataExchange : 
+export CSF_SHMessageStd=\${CASROOT}/src/SHMessageStd 
+export CSF_XSMessage=\${CASROOT}/src/XSMessage 
+# Variable for Font : 
+export CSF_MDTVFontDirectory=\${CASROOT}/src/FontMFT 
+export CSF_MDTVTexturesDirectory=\${CASROOT}/src/Textures 
+##
+EOF
+    make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+    return 0
+fi
+return 1;
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+return $?
+}
+
+install_source()
+{
+echo "You can only install precompiled CAS-5.1.2"
+return 1
+}
+
+install_binary()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/CAS-5.1.2.tar.gz -C ${INSTALL_ROOT}
+
+print_env
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INSTALL_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="cas" ; fi
+export PRODUCT="CAS-5.1.2"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE 
diff --git a/config_files/CAS4.0.sh b/config_files/CAS4.0.sh
deleted file mode 100755 (executable)
index 7b71aef..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-
-check_version()
-{
-#check existence of CAS4.0
-#unfortunately we can't say nothing exactly about cascade 4.0
-#and we only check CASROOT env.variable
-if [ -n "$CASROOT" ]; then
-    #echo "You have installed version of CASCADE in a $CASROOT"
-    #echo "Please check version number (You need 4.0)"
-    return 0
-fi
-return 1
-}
-
-print_env()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export CASROOT=\${INSTALL_ROOT}/${PRODUCT}
-export LD_LIBRARY_PATH=\${CASROOT}/Linux/lib:\${CASROOT}/lin/lib:\${CASROOT}/`uname`/lib:\${LD_LIBRARY_PATH}
-# Variable for Foundation Classes : 
-export CSF_UnitsLexicon=\${CASROOT}/src/UnitsAPI/Lexi_Expr.dat 
-export CSF_UnitsDefinition=\${CASROOT}/src/UnitsAPI/Units.dat 
-# Variable for DataExchange : 
-export CSF_SHMessageStd=\${CASROOT}/src/SHMessageStd 
-export CSF_XSMessage=\${CASROOT}/src/XSMessage 
-# Variable for Font : 
-export CSF_MDTVFontDirectory=\${CASROOT}/src/FontMFT 
-export CSF_MDTVTexturesDirectory=\${CASROOT}/src/Textures 
-##
-EOF
-(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-}
-
-# looks for the native product and collects it's environment (used by make_env())
-try_native(){
-check_version
-if [ $? -eq 0 ] ; then
-    cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export CASROOT=${CASROOT}
-export LD_LIBRARY_PATH=\${CASROOT}/Linux/lib:\${CASROOT}/lin/lib:\${CASROOT}/`uname`/lib:\${LD_LIBRARY_PATH}
-# Variable for Foundation Classes : 
-export CSF_UnitsLexicon=\${CASROOT}/src/UnitsAPI/Lexi_Expr.dat 
-export CSF_UnitsDefinition=\${CASROOT}/src/UnitsAPI/Units.dat 
-# Variable for DataExchange : 
-export CSF_SHMessageStd=\${CASROOT}/src/SHMessageStd 
-export CSF_XSMessage=\${CASROOT}/src/XSMessage 
-# Variable for Font : 
-export CSF_MDTVFontDirectory=\${CASROOT}/src/FontMFT 
-export CSF_MDTVTexturesDirectory=\${CASROOT}/src/Textures 
-##
-EOF
-    make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-    return 0
-fi
-return 1;
-}
-
-try_preinstalled(){
-try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-return $?
-}
-
-install_source()
-{
-echo "You can only install precompiled CAS4.0"
-return 1
-}
-
-install_binary()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SOURCE_DIR}/CAS4.0.tar.gz -C ${INSTALL_ROOT}
-
-print_env
-}
-
-export PROCEDURE=$1;
-export INSTALL_WORK=$2;
-export SOURCE_DIR=$3;
-export INSTALL_ROOT=$4;
-export PRODUCT_SEQUENCE=$5;
-if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="cas" ; fi
-export PRODUCT="CAS4.0"
-export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
-export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
-$PROCEDURE