From b689cc82f8a840355e76f11eb62de9734e1a1257 Mon Sep 17 00:00:00 2001 From: akl Date: Wed, 22 Aug 2007 14:51:40 +0000 Subject: [PATCH] Add RANDOMIZER and SIERPINSKY modules. --- config.xml | 109 ++++++++++++++++++++++++++++ config_files/RANDOMIZER.sh | 144 +++++++++++++++++++++++++++++++++++++ config_files/SIERPINSKY.sh | 144 +++++++++++++++++++++++++++++++++++++ 3 files changed, 397 insertions(+) create mode 100755 config_files/RANDOMIZER.sh create mode 100755 config_files/SIERPINSKY.sh diff --git a/config.xml b/config.xml index 06e6a85..1e8fc4c 100644 --- a/config.xml +++ b/config.xml @@ -764,6 +764,104 @@ installdiskspace="152,141,2914" script="LIGHT.sh"/> + + + + + + + + + + + + + + + + + + + + + + @@ -2091,6 +2189,17 @@ KERNEL GUI + + GUI + VISU + SUPERV + + + GUI + VISU + SUPERV + RANDOMIZER + diff --git a/config_files/RANDOMIZER.sh b/config_files/RANDOMIZER.sh new file mode 100755 index 0000000..b32ed67 --- /dev/null +++ b/config_files/RANDOMIZER.sh @@ -0,0 +1,144 @@ +#!/bin/bash -noprofile + +#################################################################################### +# File : RANDOMIZER_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="3.2.7" + +check_version(){ +if [ -n "${RANDOMIZER_ROOT_DIR}" ]; then + if [ -f ${RANDOMIZER_ROOT_DIR}/bin/salome/VERSION ]; then + ver=`cat ${RANDOMIZER_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $NF}' | tr -d '[:space:]' ` + if [ "$ver" = "${VERSION}" ]; then + return 0 + fi + fi +elif [ -n "${RANDOMIZER_SRC_DIR}" ]; then + if [ -f ${RANDOMIZER_SRC_DIR}/configure.in.base ]; then + ver=`grep -E "^VERSION=" ${RANDOMIZER_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' ` + if [ "$ver" = "${VERSION}" ]; then + return 0 + fi + fi +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 <