3 ####################################################################################
5 # Created : Thu Dec 18 12:01:00 2002
6 # Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
8 # Module : Installation Wizard
9 # Copyright : 2002-2015 CEA
11 # This script is the part of the SALOME installation procedure.
13 ####################################################################################
16 # There is no possibility to check version number
25 cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <<EOF
26 #${DELIM} ${PRODUCT_TYPE}_src ${DELIM}
27 export DATA_DIR=\${INST_ROOT}/${PRODUCT_SRC}
30 (test -w ${PRODUCT_SRC_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh ${PRODUCT_SRC_DIR})
31 make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
35 try_existing ${PRODUCT_SRC_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
41 make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
42 source ${INSTALL_WORK}/${SHRC}
44 check_jb tar xfz ${SRC_DIR}/SAMPLESsourcesV${SALOME_VERSION}.tar.gz -C ${INST_ROOT}
46 # to generate environment scripts
50 install_source_and_build()
63 export INSTALL_WORK=$2;
66 export PRODUCT_SEQUENCE=$5;
67 export PRODUCT_TYPE=$6;
68 export INSTALL_PRODUCTS=$7;
73 export PRODUCT="SAMPLES_${SALOME_VERSION}"
74 export PRODUCT_SRC="SAMPLES_SRC_${SALOME_VERSION}"
75 export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT_SRC}