return 1
}
-
print_env_bin(){
cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
#$DELIM ${PRODUCT_TYPE} $DELIM
make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/JOBMANAGERsourcesV${SALOME_VERSION}.tar.gz -C ${INST_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/JOBMANAGERsourcesV${JOBMANAGER_VERSION}.tar.gz -C ${INST_ROOT}
# to generate environment scripts
try_preinstalled
# create a module directory
test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/JOBMANAGERbinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
-check_jb tar xfz ${SRC_DIR}/JOBMANAGERsourcesV${SALOME_VERSION}.tar.gz -C ${INST_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/JOBMANAGERbinariesV${JOBMANAGER_VERSION}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SRC_DIR}/JOBMANAGERsourcesV${JOBMANAGER_VERSION}.tar.gz -C ${INST_ROOT}
# modify all *.la files
export JOBMANAGER_ROOT_DIR=${PRODUCT_DIR}
shift
SINGLE_DIR=$9;
if [ -n "$SINGLE_DIR" ] ; then SINGLE_DIR=$SDIR_NAME; fi
-export PRODUCT="JOBMANAGER_${SALOME_VERSION}"
-export PRODUCT_SRC="JOBMANAGER_SRC_${SALOME_VERSION}"
+export PRODUCT="JOBMANAGER_${JOBMANAGER_VERSION}"
+export PRODUCT_SRC="JOBMANAGER_SRC_${JOBMANAGER_VERSION}"
export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT_SRC}
$PROCEDURE
make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/YACSGENsourcesV${SALOME_VERSION}.tar.gz -C ${INST_ROOT}
+check_jb tar xfz ${SRC_DIR}/YACSGENsourcesV${YACSGEN_VERSION}.tar.gz -C ${INST_ROOT}
# to generate environment scripts
try_preinstalled
install_binary()
{
-make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-# create a module directory
-test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
-
-check_jb tar xfz ${SOURCE_DIR}/YACSGENbinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
-check_jb tar xfz ${SRC_DIR}/YACSGENsourcesV${SALOME_VERSION}.tar.gz -C ${INST_ROOT}
-
-# modify all *.la files
-export YACSGEN_ROOT_DIR=${PRODUCT_DIR}
-test -z ${SINGLE_DIR} && modif_la_files ${PRODUCT_DIR}
-
-# to generate environment scripts
-try_preinstalled
+install_source_and_build
}
source ./common.sh
shift
SINGLE_DIR=$9;
if [ -n "$SINGLE_DIR" ] ; then SINGLE_DIR=$SDIR_NAME; fi
-export PRODUCT="YACSGEN_${SALOME_VERSION}"
-export PRODUCT_SRC="YACSGEN_SRC_${SALOME_VERSION}"
+export PRODUCT="YACSGEN_${YACSGEN_VERSION}"
+export PRODUCT_SRC="YACSGEN_SRC_${YACSGEN_VERSION}"
export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT_SRC}
$PROCEDURE
# !WARNING! This is current SALOME version number
####################################################
export SALOME_VERSION="5.1.3"
+export YACSGEN_VERSION="5.1.3"
+export JOBMANAGER_VERSION="0.1"
# Name of the single directory for SALOME modules
export SDIR_NAME="SALOME_${SALOME_VERSION}"