From b8e190f9cf8e4ebff91d963907f6f472aeba3091 Mon Sep 17 00:00:00 2001 From: maintenance team Date: Mon, 29 Oct 2007 15:07:46 +0000 Subject: [PATCH] *** empty log message *** --- config_files/VTK-4.2.2.sh | 191 -------------------------------------- 1 file changed, 191 deletions(-) delete mode 100755 config_files/VTK-4.2.2.sh diff --git a/config_files/VTK-4.2.2.sh b/config_files/VTK-4.2.2.sh deleted file mode 100755 index 553d686..0000000 --- a/config_files/VTK-4.2.2.sh +++ /dev/null @@ -1,191 +0,0 @@ -#!/bin/bash -noprofile - -#################################################################################### -# File : VTK-4.2.2.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. -# -#################################################################################### - -check_version() -{ -if [ -z "$VTKHOME" ]; then - return 1 -fi -check_lib_version libvtkCommon.so ${VTKHOME}/lib/vtk -if [ "$?" -eq "0" ]; then - return 0 -fi -return 1 -} - -print_env_bin() -{ -cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <> ${PRODUCT_DIR}/MAKEcmake.LOG < ${PRODUCT_DIR}/CONFIGURE.LOG < ${PRODUCT_DIR}/MAKE.LOG < ${PRODUCT_DIR}/size.log -cd ${PRODUCT_DIR}; - -# set correct symbolic links - bug of python wrappings installation -cd ${PRODUCT_DIR}/lib/python${python_version}/site-packages/vtk_python -ln -sf ../../../vtk/*Python*.so . - -# remove sources and temporary files after building -if [ ${REMOVE_SRC_TMP} == "TRUE" ] ; then - test -d ${PRODUCT_DIR}_SRC && rm -fr ${PRODUCT_DIR}_SRC -fi - -# to generate environment scripts -try_preinstalled -} - -install_binary() -{ -make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE} -source ${INSTALL_WORK}/$SHRC - -check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${INSTALL_ROOT} - -# to generate environment script for sources -try_preinstalled -} - -export PROCEDURE=$1; -export INSTALL_WORK=$2; -export SOURCE_DIR=$3; -export INSTALL_ROOT=$4; -export PRODUCT_SEQUENCE=$5; -export PRODUCT_TYPE=$6; -export INSTALL_PRODUCTS=$7; -shift -REMOVE_SRC_TMP=$8; -export PRODUCT="VTK-4.2.2" -export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} -export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} -source ./common.sh -$PROCEDURE -- 2.39.2