From: admin Date: Tue, 25 Apr 2006 12:06:18 +0000 (+0000) Subject: This commit was generated by cvs2git to create branch 'SALOME_3_DS'. X-Git-Tag: mergeto_SALOME_3_17May06~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=395bc3913c3a84d8ec5889cb5776a81b0ddb1ad7;p=tools%2Finstall.git This commit was generated by cvs2git to create branch 'SALOME_3_DS'. Cherrypick from SALOME_3 2006-04-25 12:06:17 UTC admin 'This commit was generated by cvs2git to create branch 'SALOME_3'.': config_files/HXX2SALOME.sh config_files/HXX2SALOMEDOC.sh --- diff --git a/config_files/HXX2SALOME.sh b/config_files/HXX2SALOME.sh new file mode 100755 index 0000000..0400159 --- /dev/null +++ b/config_files/HXX2SALOME.sh @@ -0,0 +1,101 @@ +#!/bin/sh + +check_version(){ +# No way to check version! +return 0 +} + +print_env(){ +cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <> ${PRODUCT_DIR}/CONFIGURE.LOG <> ${PRODUCT_DIR}/CONFIGURE.LOG <> ${PRODUCT_DIR}/MAKE.LOG < ${PRODUCT_DIR}/size.log +cd ${PRODUCT_DIR}; rm -fr ${PRODUCT_WORK} + +print_env +} + +install_binary() +{ +make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} +source ${INSTALL_WORK}/$SHRC + +check_jb tar xfz ${SOURCE_DIR}/HXX2SALOMEbinariesV2.2.9.tar.gz -C ${INSTALL_ROOT} + +print_env +} + +pickup_env() +{ +make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} ${PRODUCT_DIR} +} + +export PROCEDURE=$1; +export INSTALL_WORK=$2; +export SOURCE_DIR=$3; +export INSTALL_ROOT=$4; +export PRODUCT_SEQUENCE=$5; +if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="HXX2SALOME" ; fi +export PRODUCT="HXX2SALOME_2.2.9" +export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} +export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} +source ./common.sh +$PROCEDURE diff --git a/config_files/HXX2SALOMEDOC.sh b/config_files/HXX2SALOMEDOC.sh new file mode 100755 index 0000000..edb2208 --- /dev/null +++ b/config_files/HXX2SALOMEDOC.sh @@ -0,0 +1,44 @@ +#!/bin/sh + +check_version(){ +# No way to check version! +return 0 +} + +print_env(){ +cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <