From 2e373afcae0ffcaead7d688c2b0ef92f642fbae0 Mon Sep 17 00:00:00 2001 From: maintenance team Date: Tue, 20 Oct 2009 14:01:31 +0000 Subject: [PATCH] *** empty log message *** --- config_files/cmake-2.6.4.sh | 6 +- config_files/libBatch-1.0.0.sh | 125 +++++++++++++++++++++++++++++++++ 2 files changed, 129 insertions(+), 2 deletions(-) create mode 100755 config_files/libBatch-1.0.0.sh diff --git a/config_files/cmake-2.6.4.sh b/config_files/cmake-2.6.4.sh index 55a9660..2df663a 100755 --- a/config_files/cmake-2.6.4.sh +++ b/config_files/cmake-2.6.4.sh @@ -12,6 +12,8 @@ # #################################################################################### +CMAKE_VERSION=2.6.4 + check_version() { # It is not necessary to check version! @@ -52,7 +54,7 @@ install_source() make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/cmake-2.6.4.tar.gz -C ${INST_ROOT} +check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${INST_ROOT} # to generate environment scripts try_preinstalled @@ -115,7 +117,7 @@ export INSTALL_PRODUCTS=$7; shift REMOVE_SRC_TMP=$8; test $# == 10 && shift && SINGLE_DIR=$9 -export PRODUCT="cmake-2.6.4" +export PRODUCT="cmake-${CMAKE_VERSION}" export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT}_SRC diff --git a/config_files/libBatch-1.0.0.sh b/config_files/libBatch-1.0.0.sh new file mode 100755 index 0000000..ba23c62 --- /dev/null +++ b/config_files/libBatch-1.0.0.sh @@ -0,0 +1,125 @@ +#!/bin/bash -noprofile + +#################################################################################### +# File : libBatch-1.0.0.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-2008 CEA +# +# This script is the part of the SALOME installation procedure. +# +#################################################################################### + +LIBBATCH_VERSION=1.0.0 + +check_version(){ +# No way to check version! +return 0 +} + +print_env_bin() +{ +cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <> ${PRODUCT_DIR}/MAKE.LOG <