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"
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"
--- /dev/null
+#!/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
+++ /dev/null
-#!/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