From af32de5ebb7308cf5c519c8d17d93c96d9a8b409 Mon Sep 17 00:00:00 2001 From: maintenance team Date: Thu, 25 Oct 2007 09:53:01 +0000 Subject: [PATCH] Update for Salome series4x --- config_files/BLSURFPLUGIN.sh | 134 +++++++++++++++++++++++++++++ config_files/CALCULATOR.sh | 11 +-- config_files/COMPONENT.sh | 11 +-- config_files/DOCUMENTATION.sh | 2 +- config_files/FILTER.sh | 141 +++++++++++++++++++++++++++++++ config_files/GEOM.sh | 11 +-- config_files/GHS3DPLUGIN.sh | 9 +- config_files/GHS3DPRLPLUGIN.sh | 141 +++++++++++++++++++++++++++++++ config_files/GUI.sh | 11 +-- config_files/HELLO.sh | 11 +-- config_files/HXX2SALOME.sh | 2 +- config_files/HXX2SALOMEDOC.sh | 2 +- config_files/HexoticPLUGIN.sh | 141 +++++++++++++++++++++++++++++++ config_files/KERNEL.sh | 11 +-- config_files/KERNEL_SRC.sh_added | 9 ++ config_files/LIGHT.sh | 11 +-- config_files/MED.sh | 11 +-- config_files/MULTIPR.sh | 141 +++++++++++++++++++++++++++++++ config_files/NETGENPLUGIN.sh | 11 +-- config_files/PYCALCULATOR.sh | 11 +-- config_files/PYHELLO.sh | 11 +-- config_files/RANDOMIZER.sh | 11 +-- config_files/SAMPLES.sh | 2 +- config_files/SIERPINSKY.sh | 11 +-- config_files/SMESH.sh | 11 +-- config_files/SUPERV.sh | 11 +-- config_files/VISU.sh | 11 +-- config_files/YACS.sh | 141 +++++++++++++++++++++++++++++++ config_files/common.sh | 45 ++++++++++ 29 files changed, 964 insertions(+), 122 deletions(-) create mode 100755 config_files/BLSURFPLUGIN.sh create mode 100755 config_files/FILTER.sh create mode 100755 config_files/GHS3DPRLPLUGIN.sh create mode 100755 config_files/HexoticPLUGIN.sh create mode 100755 config_files/KERNEL_SRC.sh_added create mode 100755 config_files/MULTIPR.sh create mode 100755 config_files/YACS.sh diff --git a/config_files/BLSURFPLUGIN.sh b/config_files/BLSURFPLUGIN.sh new file mode 100755 index 0000000..88f83f7 --- /dev/null +++ b/config_files/BLSURFPLUGIN.sh @@ -0,0 +1,134 @@ +#!/bin/bash -noprofile + +#################################################################################### +# File : BLSURFPLUGIN_BIN.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-2007 CEA +# +# This script is the part of the SALOME installation procedure. +# +#################################################################################### + +VERSION="4.0.0" + +check_version(){ +if [ -n "${BLSURFPLUGIN_ROOT_DIR}" ]; then + if [ -f ${BLSURFPLUGIN_ROOT_DIR}/bin/salome/VERSION ]; then + ver=`cat ${BLSURFPLUGIN_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $NF}' | tr -d '[:space:]' ` + if [ "$ver" = "${VERSION}" ]; then + return 0 + fi + fi +elif [ -n "${BLSURFPLUGIN_SRC_DIR}" ]; then +check_version(){ + check_salome_src_version BLSURFPLUGIN_SRC_DIR $VERSION + if [ $? -eq 0 ] ; then return 0 ; fi + return 1 +} +fi +return 1 +} + +print_env_bin(){ +if test `uname -m` = "x86_64" ; then +export LIB_PREFIX=64 +else +export LIB_PREFIX="" +fi +cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh < $l"_" mv -f $l"_" $l + + # 15. process libxml dependencies + libxmldir=`printenv LIBXML_DIR`/lib + if [ ! -d ${libxmldir} ] ; then libxmldir=`printenv LIBXML_DIR`/lib ; fi + sed -e "s%\(.*\)\([[:space:]].*/lib/libxml2.la[[:space:]]\)\(.*\)%\1 ${libxmldir}/libxml2.la \3%g" \ + -e "s%-L[^[:space:]]*libxml2[^[:space:]]*/lib%-L${libxmldir}%g" $l > $l"_" + mv -f $l"_" $l + + # 16. process metis dependencies + metisdir=`printenv METISDIR` + if [ ! -d ${metisdir} ] ; then metisdir=`printenv METISDIR` ; fi + sed -e "s%-L[^[:space:]]*metis[^[:space:]]*%-L${metisdir}%g" $l > $l"_" + mv -f $l"_" $l + + # 3. process scotch dependencies + scotchdir=`printenv SCOTCHDIR`/bin + if [ ! -d ${scotchdir} ] ; then scotchdir=`printenv SCOTCHDIR`/bin ; fi + sed -e "s%-L[^[:space:]]*scotch[^[:space:]]*/bin%-L${scotchdir}%g" $l > $l"_" + mv -f $l"_" $l + + fi done -- 2.39.2