#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${CALCULATOR_ROOT_DIR}" ]; then
check_lib_version VERSION ${CALCULATOR_ROOT_DIR}/bin/salome
if [ "$?" -eq "0" ]; then
ver=`cat ${CALCULATOR_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
# create a module directory
mkdir -p ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/CALCULATORbinariesV${VERSION}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SOURCE_DIR}/CALCULATORbinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
# modify all *.la files
export CALCULATOR_ROOT_DIR=${PRODUCT_DIR}
-modif_la_files ${PRODUCT_DIR}
+if [ "$SINGLE_DIR" != "1" ] ; then modif_la_files ${PRODUCT_DIR} ; fi
cd ${PRODUCT_DIR}/bin/salome
sed -e "s%export KERNEL_ROOT_DIR=.*%export KERNEL_ROOT_DIR=${KERNEL_ROOT_DIR}%g" runAppli > _runAppli
print_env
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export PRODUCT_TYPE=$6;
SINGLE_DIR=$7
if [ "$SINGLE_DIR" == "1" ] ; then
- export PRODUCT=SALOME_${VERSION}
+ export PRODUCT=SALOME_${SALOME_VERSION}
else
- export PRODUCT=CALCULATOR_${VERSION}
+ export PRODUCT=CALCULATOR_${SALOME_VERSION}
fi
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${CALCULATOR_SRC_DIR}" ]; then
if [ -f ${CALCULATOR_SRC_DIR}/configure.in.base ]; then
ver=`grep -E "^VERSION=" ${CALCULATOR_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/CALCULATORsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/CALCULATORsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
# build sources
prod_bin=`echo $PRODUCT_TYPE | sed "s%src%bin%g"`
-mkdir -p ${INSTALL_ROOT}/CALCULATOR_${VERSION}
+mkdir -p ${INSTALL_ROOT}/CALCULATOR_${SALOME_VERSION}
if [ -e ./build.sh ] ; then
cp -f ./build.sh ${INSTALL_ROOT}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="CALCULATORsrc" ; fi
-export PRODUCT="CALCULATOR_SRC_${VERSION}"
+export PRODUCT="CALCULATOR_SRC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${COMPONENT_ROOT_DIR}" ]; then
check_lib_version VERSION ${COMPONENT_ROOT_DIR}/bin/salome
if [ "$?" -eq "0" ]; then
ver=`cat ${COMPONENT_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
# create a module directory
mkdir -p ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/COMPONENTbinariesV${VERSION}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SOURCE_DIR}/COMPONENTbinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
# modify all *.la files
export COMPONENT_ROOT_DIR=${PRODUCT_DIR}
-modif_la_files ${PRODUCT_DIR}
+if [ "$SINGLE_DIR" != "1" ] ; then modif_la_files ${PRODUCT_DIR} ; fi
print_env
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export PRODUCT_TYPE=$6;
SINGLE_DIR=$7
if [ "$SINGLE_DIR" == "1" ] ; then
- export PRODUCT=SALOME_${VERSION}
+ export PRODUCT=SALOME_${SALOME_VERSION}
else
- export PRODUCT=COMPONENT_${VERSION}
+ export PRODUCT=COMPONENT_${SALOME_VERSION}
fi
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${COMPONENT_SRC_DIR}" ]; then
if [ -f ${COMPONENT_SRC_DIR}/configure.in.base ]; then
ver=`grep -E "^VERSION=" ${COMPONENT_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/COMPONENTsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/COMPONENTsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
# build sources
prod_bin=`echo $PRODUCT_TYPE | sed "s%src%bin%g"`
-mkdir -p ${INSTALL_ROOT}/COMPONENT_${VERSION}
+mkdir -p ${INSTALL_ROOT}/COMPONENT_${SALOME_VERSION}
if [ -e ./build.sh ] ; then
cp -f ./build.sh ${INSTALL_ROOT}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="COMPONENTsrc" ; fi
-export PRODUCT="COMPONENT_SRC_${VERSION}"
+export PRODUCT="COMPONENT_SRC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/DOCUMENTATION-V3.2.10.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/DOCUMENTATION-V${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="DOCUMENTATION" ; fi
-export PRODUCT="DOCUMENTATION_${VERSION}"
+export PRODUCT="DOCUMENTATION_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${GEOM_ROOT_DIR}" ]; then
check_lib_version VERSION ${GEOM_ROOT_DIR}/bin/salome
if [ "$?" -eq "0" ]; then
ver=`cat ${GEOM_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
# create a module directory
mkdir -p ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/GEOMbinariesV${VERSION}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SOURCE_DIR}/GEOMbinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
# modify all *.la files
export GEOM_ROOT_DIR=${PRODUCT_DIR}
-modif_la_files ${PRODUCT_DIR}
+if [ "$SINGLE_DIR" != "1" ] ; then modif_la_files ${PRODUCT_DIR} ; fi
print_env
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export PRODUCT_TYPE=$6;
SINGLE_DIR=$7
if [ "$SINGLE_DIR" == "1" ] ; then
- export PRODUCT=SALOME_${VERSION}
+ export PRODUCT=SALOME_${SALOME_VERSION}
else
- export PRODUCT=GEOM_${VERSION}
+ export PRODUCT=GEOM_${SALOME_VERSION}
fi
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${GEOM_SRC_DIR}" ]; then
if [ -f ${GEOM_SRC_DIR}/configure.in.base ]; then
ver=`grep -E "^VERSION=" ${GEOM_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/GEOMsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/GEOMsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
# build sources
prod_bin=`echo $PRODUCT_TYPE | sed "s%src%bin%g"`
-mkdir -p ${INSTALL_ROOT}/GEOM_${VERSION}
+mkdir -p ${INSTALL_ROOT}/GEOM_${SALOME_VERSION}
if [ -e ./build.sh ] ; then
cp -f ./build.sh ${INSTALL_ROOT}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="GEOMsrc" ; fi
-export PRODUCT="GEOM_SRC_${VERSION}"
+export PRODUCT="GEOM_SRC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${GHS3DPLUGIN_ROOT_DIR}" ]; then
check_lib_version VERSION ${GHS3DPLUGIN_ROOT_DIR}/bin/salome
if [ "$?" -eq "0" ]; then
ver=`cat ${GHS3DPLUGIN_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
# create a module directory
mkdir -p ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/GHS3DPLUGINbinariesV${VERSION}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SOURCE_DIR}/GHS3DPLUGINbinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
# modify all *.la files
export GHS3DPLUGIN_ROOT_DIR=${PRODUCT_DIR}
-modif_la_files ${PRODUCT_DIR}
+if [ "$SINGLE_DIR" != "1" ] ; then modif_la_files ${PRODUCT_DIR} ; fi
print_env
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export PRODUCT_TYPE=$6;
SINGLE_DIR=$7
if [ "$SINGLE_DIR" == "1" ] ; then
- export PRODUCT=SALOME_${VERSION}
+ export PRODUCT=SALOME_${SALOME_VERSION}
else
- export PRODUCT=GHS3DPLUGIN_${VERSION}
+ export PRODUCT=GHS3DPLUGIN_${SALOME_VERSION}
fi
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${GHS3DPLUGIN_SRC_DIR}" ]; then
if [ -f ${GHS3DPLUGIN_SRC_DIR}/configure.in.base ]; then
ver=`grep -E "^VERSION=" ${GHS3DPLUGIN_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/GHS3DPLUGINsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/GHS3DPLUGINsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
# build sources
prod_bin=`echo $PRODUCT_TYPE | sed "s%src%bin%g"`
-mkdir -p ${INSTALL_ROOT}/GHS3DPLUGIN_${VERSION}
+mkdir -p ${INSTALL_ROOT}/GHS3DPLUGIN_${SALOME_VERSION}
if [ -e ./build.sh ] ; then
cp -f ./build.sh ${INSTALL_ROOT}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="GHS3DPLUGINsrc" ; fi
-export PRODUCT="GHS3DPLUGIN_SRC_${VERSION}"
+export PRODUCT="GHS3DPLUGIN_SRC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${GUI_ROOT_DIR}" ]; then
check_lib_version VERSION ${GUI_ROOT_DIR}/bin/salome
if [ "$?" -eq "0" ]; then
ver=`cat ${GUI_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
# create a module directory
mkdir -p ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/GUIbinariesV${VERSION}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SOURCE_DIR}/GUIbinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
# modify all *.la files
export GUI_ROOT_DIR=${PRODUCT_DIR}
-modif_la_files ${PRODUCT_DIR}
+if [ "$SINGLE_DIR" != "1" ] ; then modif_la_files ${PRODUCT_DIR} ; fi
print_env
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export PRODUCT_TYPE=$6;
SINGLE_DIR=$7
if [ "$SINGLE_DIR" == "1" ] ; then
- export PRODUCT=SALOME_${VERSION}
+ export PRODUCT=SALOME_${SALOME_VERSION}
else
- export PRODUCT=GUI_${VERSION}
+ export PRODUCT=GUI_${SALOME_VERSION}
fi
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${GUI_SRC_DIR}" ]; then
if [ -f ${GUI_SRC_DIR}/configure.in.base ]; then
ver=`grep -E "^VERSION=" ${GUI_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/GUIsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/GUIsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
# build sources
prod_bin=`echo $PRODUCT_TYPE | sed "s%src%bin%g"`
-mkdir -p ${INSTALL_ROOT}/GUI_${VERSION}
+mkdir -p ${INSTALL_ROOT}/GUI_${SALOME_VERSION}
if [ -e ./build.sh ] ; then
cp -f ./build.sh ${INSTALL_ROOT}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="GUIsrc" ; fi
-export PRODUCT="GUI_SRC_${VERSION}"
+export PRODUCT="GUI_SRC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${HELLO_ROOT_DIR}" ]; then
check_lib_version VERSION ${HELLO_ROOT_DIR}/bin/salome
if [ "$?" -eq "0" ]; then
ver=`cat ${HELLO_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
# create a module directory
mkdir -p ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/HELLObinariesV${VERSION}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SOURCE_DIR}/HELLObinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
# modify all *.la files
export HELLO_ROOT_DIR=${PRODUCT_DIR}
-modif_la_files ${PRODUCT_DIR}
+if [ "$SINGLE_DIR" != "1" ] ; then modif_la_files ${PRODUCT_DIR} ; fi
cd ${PRODUCT_DIR}/bin/salome
sed -e "s%export KERNEL_ROOT_DIR=.*%export KERNEL_ROOT_DIR=${KERNEL_ROOT_DIR}%g" runAppli > _runAppli
print_env
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export PRODUCT_TYPE=$6;
SINGLE_DIR=$7
if [ "$SINGLE_DIR" == "1" ] ; then
- export PRODUCT=SALOME_${VERSION}
+ export PRODUCT=SALOME_${SALOME_VERSION}
else
- export PRODUCT=HELLO_${VERSION}
+ export PRODUCT=HELLO_${SALOME_VERSION}
fi
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${HELLO_SRC_DIR}" ]; then
if [ -f ${HELLO_SRC_DIR}/configure.in.base ]; then
ver=`grep -E "^VERSION=" ${HELLO_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/HELLOsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/HELLOsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
# build sources
prod_bin=`echo $PRODUCT_TYPE | sed "s%src%bin%g"`
-mkdir -p ${INSTALL_ROOT}/HELLO_${VERSION}
+mkdir -p ${INSTALL_ROOT}/HELLO_${SALOME_VERSION}
if [ -e ./build.sh ] ; then
cp -f ./build.sh ${INSTALL_ROOT}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="HELLOsrc" ; fi
-export PRODUCT="HELLO_SRC_${VERSION}"
+export PRODUCT="HELLO_SRC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
makedir ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/HXX2SALOMEsourcesV3.2.10.tar.gz -C ${INSTALL_WORK}
+check_jb tar xfz ${SOURCE_DIR}/HXX2SALOMEsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_WORK}
cd ${PRODUCT_WORK}
cat >> ${PRODUCT_DIR}/CONFIGURE.LOG <<EOF
-------------------
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/HXX2SALOMEbinariesV3.2.10.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/HXX2SALOMEbinariesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="HXX2SALOME" ; fi
-export PRODUCT="HXX2SALOME_3.2.10"
+export PRODUCT="HXX2SALOME_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/HXX2SALOMEDOCsourcesV3.2.10.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/HXX2SALOMEDOCsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="HXX2SALOMEDOC" ; fi
-export PRODUCT="HXX2SALOMEDOC_3.2.10"
+export PRODUCT="HXX2SALOMEDOC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${KERNEL_ROOT_DIR}" ]; then
check_lib_version VERSION ${KERNEL_ROOT_DIR}/bin/salome
if [ "$?" -eq "0" ]; then
ver=`cat ${KERNEL_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
# create a module directory
mkdir -p ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/KERNELbinariesV${VERSION}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SOURCE_DIR}/KERNELbinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
# The next two symbolic links are created only for Red Hat 9 and Scientific Linux 3.0.5
if [ -f /lib/libcrypto.so.0.9.7a ]; then
# modify all *.la files
export KERNEL_ROOT_DIR=${PRODUCT_DIR}
-modif_la_files ${PRODUCT_DIR}
+if [ "$SINGLE_DIR" != "1" ] ; then modif_la_files ${PRODUCT_DIR} ; fi
print_env
}
fi
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export PRODUCT_TYPE=$6;
SINGLE_DIR=$7
if [ "$SINGLE_DIR" == "1" ] ; then
- export PRODUCT=SALOME_${VERSION}
+ export PRODUCT=SALOME_${SALOME_VERSION}
else
- export PRODUCT=KERNEL_${VERSION}
+ export PRODUCT=KERNEL_${SALOME_VERSION}
fi
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${KERNEL_SRC_DIR}" ]; then
if [ -f ${KERNEL_SRC_DIR}/configure.ac ]; then
ver=`grep -E "^VERSION=" ${KERNEL_SRC_DIR}/configure.ac | awk -F= '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/KERNELsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/KERNELsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
# build sources
prod_bin=`echo $PRODUCT_TYPE | sed "s%src%bin%g"`
-mkdir -p ${INSTALL_ROOT}/KERNEL_${VERSION}
+mkdir -p ${INSTALL_ROOT}/KERNEL_${SALOME_VERSION}
if [ -e ./build.sh ] ; then
cp -f ./build.sh ${INSTALL_ROOT}
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} ${PRODUCT_DIR}
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="KERNELsrc" ; fi
-export PRODUCT="KERNEL_SRC_${VERSION}"
+export PRODUCT="KERNEL_SRC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${LIGHT_ROOT_DIR}" ]; then
check_lib_version VERSION ${LIGHT_ROOT_DIR}/bin/salome
if [ "$?" -eq "0" ]; then
ver=`cat ${LIGHT_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
# create a module directory
mkdir -p ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/LIGHTbinariesV${VERSION}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SOURCE_DIR}/LIGHTbinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
# modify all *.la files
export LIGHT_ROOT_DIR=${PRODUCT_DIR}
-modif_la_files ${PRODUCT_DIR}
+if [ "$SINGLE_DIR" != "1" ] ; then modif_la_files ${PRODUCT_DIR} ; fi
print_env
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export PRODUCT_TYPE=$6;
SINGLE_DIR=$7
if [ "$SINGLE_DIR" == "1" ] ; then
- export PRODUCT=SALOME_${VERSION}
+ export PRODUCT=SALOME_${SALOME_VERSION}
else
- export PRODUCT=LIGHT_${VERSION}
+ export PRODUCT=LIGHT_${SALOME_VERSION}
fi
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${LIGHT_SRC_DIR}" ]; then
if [ -f ${LIGHT_SRC_DIR}/configure.in.base ]; then
ver=`grep -E "^VERSION=" ${LIGHT_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/LIGHTsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/LIGHTsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
# build sources
prod_bin=`echo $PRODUCT_TYPE | sed "s%src%bin%g"`
-mkdir -p ${INSTALL_ROOT}/LIGHT_${VERSION}
+mkdir -p ${INSTALL_ROOT}/LIGHT_${SALOME_VERSION}
if [ -e ./build.sh ] ; then
cp -f ./build.sh ${INSTALL_ROOT}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="LIGHTsrc" ; fi
-export PRODUCT="LIGHT_SRC_${VERSION}"
+export PRODUCT="LIGHT_SRC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${MEDWOGUI_ROOT_DIR}" ]; then
check_lib_version VERSION ${MEDWOGUI_ROOT_DIR}/bin/salome
if [ "$?" -eq "0" ]; then
ver=`cat ${MEDWOGUI_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
# create a module directory
mkdir -p ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/MEDWOGUIbinariesV${VERSION}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SOURCE_DIR}/MEDWOGUIbinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
# modify all *.la files
export MEDWOGUI_ROOT_DIR=${PRODUCT_DIR}
-modif_la_files ${PRODUCT_DIR}
+if [ "$SINGLE_DIR" != "1" ] ; then modif_la_files ${PRODUCT_DIR} ; fi
print_env
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export PRODUCT_TYPE=$6;
SINGLE_DIR=$7
if [ "$SINGLE_DIR" == "1" ] ; then
- export PRODUCT=SALOME_${VERSION}
+ export PRODUCT=SALOME_${SALOME_VERSION}
else
- export PRODUCT=MEDWOGUI_${VERSION}
+ export PRODUCT=MEDWOGUI_${SALOME_VERSION}
fi
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${MEDWOGUI_SRC_DIR}" ]; then
if [ -f ${MEDWOGUI_SRC_DIR}/configure.in.base ]; then
ver=`grep -E "^VERSION=" ${MEDWOGUI_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/MEDsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/MEDsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
# build sources
prod_bin=`echo $PRODUCT_TYPE | sed "s%src%bin%g"`
-mkdir -p ${INSTALL_ROOT}/MEDWOGUI_${VERSION}
+mkdir -p ${INSTALL_ROOT}/MEDWOGUI_${SALOME_VERSION}
if [ -e ./build.sh ] ; then
cp -f ./build.sh ${INSTALL_ROOT}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="MEDWOGUIsrc" ; fi
-export PRODUCT="MEDWOGUI_SRC_${VERSION}"
+export PRODUCT="MEDWOGUI_SRC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${MED_ROOT_DIR}" ]; then
check_lib_version VERSION ${MED_ROOT_DIR}/bin/salome
if [ "$?" -eq "0" ]; then
ver=`cat ${MED_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
# create a module directory
mkdir -p ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/MEDbinariesV${VERSION}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SOURCE_DIR}/MEDbinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
# modify all *.la files
export MED_ROOT_DIR=${PRODUCT_DIR}
-modif_la_files ${PRODUCT_DIR}
+if [ "$SINGLE_DIR" != "1" ] ; then modif_la_files ${PRODUCT_DIR} ; fi
print_env
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export PRODUCT_TYPE=$6;
SINGLE_DIR=$7
if [ "$SINGLE_DIR" == "1" ] ; then
- export PRODUCT=SALOME_${VERSION}
+ export PRODUCT=SALOME_${SALOME_VERSION}
else
- export PRODUCT=MED_${VERSION}
+ export PRODUCT=MED_${SALOME_VERSION}
fi
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${MED_SRC_DIR}" ]; then
if [ -f ${MED_SRC_DIR}/configure.in.base ]; then
ver=`grep -E "^VERSION=" ${MED_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/MEDsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/MEDsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
# build sources
prod_bin=`echo $PRODUCT_TYPE | sed "s%src%bin%g"`
-mkdir -p ${INSTALL_ROOT}/MED_${VERSION}
+mkdir -p ${INSTALL_ROOT}/MED_${SALOME_VERSION}
if [ -e ./build.sh ] ; then
cp -f ./build.sh ${INSTALL_ROOT}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="MEDsrc" ; fi
-export PRODUCT="MED_SRC_${VERSION}"
+export PRODUCT="MED_SRC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${NETGENPLUGIN_ROOT_DIR}" ]; then
check_lib_version VERSION ${NETGENPLUGIN_ROOT_DIR}/bin/salome
if [ "$?" -eq "0" ]; then
ver=`cat ${NETGENPLUGIN_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
# create a module directory
mkdir -p ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/NETGENPLUGINbinariesV${VERSION}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SOURCE_DIR}/NETGENPLUGINbinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
# modify all *.la files
export NETGENPLUGIN_ROOT_DIR=${PRODUCT_DIR}
-modif_la_files ${PRODUCT_DIR}
+if [ "$SINGLE_DIR" != "1" ] ; then modif_la_files ${PRODUCT_DIR} ; fi
print_env
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export PRODUCT_TYPE=$6;
SINGLE_DIR=$7
if [ "$SINGLE_DIR" == "1" ] ; then
- export PRODUCT=SALOME_${VERSION}
+ export PRODUCT=SALOME_${SALOME_VERSION}
else
- export PRODUCT=NETGENPLUGIN_${VERSION}
+ export PRODUCT=NETGENPLUGIN_${SALOME_VERSION}
fi
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${NETGENPLUGIN_SRC_DIR}" ]; then
if [ -f ${NETGENPLUGIN_SRC_DIR}/configure.in.base ]; then
ver=`grep -E "^VERSION=" ${NETGENPLUGIN_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/NETGENPLUGINsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/NETGENPLUGINsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
# build sources
prod_bin=`echo $PRODUCT_TYPE | sed "s%src%bin%g"`
-mkdir -p ${INSTALL_ROOT}/NETGENPLUGIN_${VERSION}
+mkdir -p ${INSTALL_ROOT}/NETGENPLUGIN_${SALOME_VERSION}
if [ -e ./build.sh ] ; then
cp -f ./build.sh ${INSTALL_ROOT}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="NETGENPLUGINsrc" ; fi
-export PRODUCT="NETGENPLUGIN_SRC_${VERSION}"
+export PRODUCT="NETGENPLUGIN_SRC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${PYCALCULATOR_ROOT_DIR}" ]; then
check_lib_version VERSION ${PYCALCULATOR_ROOT_DIR}/bin/salome
if [ "$?" -eq "0" ]; then
ver=`cat ${PYCALCULATOR_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
# create a module directory
mkdir -p ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/PYCALCULATORbinariesV${VERSION}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SOURCE_DIR}/PYCALCULATORbinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
# modify all *.la files
export PYCALCULATOR_ROOT_DIR=${PRODUCT_DIR}
-modif_la_files ${PRODUCT_DIR}
+if [ "$SINGLE_DIR" != "1" ] ; then modif_la_files ${PRODUCT_DIR} ; fi
print_env
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export PRODUCT_TYPE=$6;
SINGLE_DIR=$7
if [ "$SINGLE_DIR" == "1" ] ; then
- export PRODUCT=SALOME_${VERSION}
+ export PRODUCT=SALOME_${SALOME_VERSION}
else
- export PRODUCT=PYCALCULATOR_${VERSION}
+ export PRODUCT=PYCALCULATOR_${SALOME_VERSION}
fi
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${PYCALCULATOR_SRC_DIR}" ]; then
if [ -f ${PYCALCULATOR_SRC_DIR}/configure.in.base ]; then
ver=`grep -E "^VERSION=" ${PYCALCULATOR_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/PYCALCULATORsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/PYCALCULATORsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
# build sources
prod_bin=`echo $PRODUCT_TYPE | sed "s%src%bin%g"`
-mkdir -p ${INSTALL_ROOT}/PYCALCULATOR_${VERSION}
+mkdir -p ${INSTALL_ROOT}/PYCALCULATOR_${SALOME_VERSION}
if [ -e ./build.sh ] ; then
cp -f ./build.sh ${INSTALL_ROOT}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="PYCALCULATORsrc" ; fi
-export PRODUCT="PYCALCULATOR_SRC_${VERSION}"
+export PRODUCT="PYCALCULATOR_SRC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${PYHELLO_ROOT_DIR}" ]; then
check_lib_version VERSION ${PYHELLO_ROOT_DIR}/bin/salome
if [ "$?" -eq "0" ]; then
ver=`cat ${PYHELLO_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
# create a module directory
mkdir -p ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/PYHELLObinariesV${VERSION}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SOURCE_DIR}/PYHELLObinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
# modify all *.la files
export PYHELLO_ROOT_DIR=${PRODUCT_DIR}
-modif_la_files ${PRODUCT_DIR}
+if [ "$SINGLE_DIR" != "1" ] ; then modif_la_files ${PRODUCT_DIR} ; fi
cd ${PRODUCT_DIR}/bin/salome
sed -e "s%export KERNEL_ROOT_DIR=.*%export KERNEL_ROOT_DIR=${KERNEL_ROOT_DIR}%g" runAppli > _runAppli
print_env
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export PRODUCT_TYPE=$6;
SINGLE_DIR=$7
if [ "$SINGLE_DIR" == "1" ] ; then
- export PRODUCT=SALOME_${VERSION}
+ export PRODUCT=SALOME_${SALOME_VERSION}
else
- export PRODUCT=PYHELLO_${VERSION}
+ export PRODUCT=PYHELLO_${SALOME_VERSION}
fi
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${PYHELLO_SRC_DIR}" ]; then
if [ -f ${PYHELLO_SRC_DIR}/configure.in.base ]; then
ver=`grep -E "^VERSION=" ${PYHELLO_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/PYHELLOsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/PYHELLOsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
# build sources
prod_bin=`echo $PRODUCT_TYPE | sed "s%src%bin%g"`
-mkdir -p ${INSTALL_ROOT}/PYHELLO_${VERSION}
+mkdir -p ${INSTALL_ROOT}/PYHELLO_${SALOME_VERSION}
if [ -e ./build.sh ] ; then
cp -f ./build.sh ${INSTALL_ROOT}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="PYHELLOsrc" ; fi
-export PRODUCT="PYHELLO_SRC_${VERSION}"
+export PRODUCT="PYHELLO_SRC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${RANDOMIZER_ROOT_DIR}" ]; then
check_lib_version VERSION ${RANDOMIZER_ROOT_DIR}/bin/salome
if [ "$?" -eq "0" ]; then
ver=`cat ${RANDOMIZER_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
# create a module directory
mkdir -p ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/RANDOMIZERbinariesV${VERSION}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SOURCE_DIR}/RANDOMIZERbinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
# modify all *.la files
export RANDOMIZER_ROOT_DIR=${PRODUCT_DIR}
-modif_la_files ${PRODUCT_DIR}
+if [ "$SINGLE_DIR" != "1" ] ; then modif_la_files ${PRODUCT_DIR} ; fi
print_env
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export PRODUCT_TYPE=$6;
SINGLE_DIR=$7
if [ "$SINGLE_DIR" == "1" ] ; then
- export PRODUCT=SALOME_${VERSION}
+ export PRODUCT=SALOME_${SALOME_VERSION}
else
- export PRODUCT=RANDOMIZER_${VERSION}
+ export PRODUCT=RANDOMIZER_${SALOME_VERSION}
fi
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -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
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/RANDOMIZERsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/RANDOMIZERsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
# build sources
prod_bin=`echo $PRODUCT_TYPE | sed "s%src%bin%g"`
-mkdir -p ${INSTALL_ROOT}/RANDOMIZER_${VERSION}
+mkdir -p ${INSTALL_ROOT}/RANDOMIZER_${SALOME_VERSION}
if [ -e ./build.sh ] ; then
cp -f ./build.sh ${INSTALL_ROOT}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="RANDOMIZERsrc" ; fi
-export PRODUCT="RANDOMIZER_SRC_${VERSION}"
+export PRODUCT="RANDOMIZER_SRC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
# There is no possibility to check version number
return 0
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/SAMPLESsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/SAMPLESsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="SAMPLES" ; fi
-export PRODUCT="SAMPLES_SRC_${VERSION}"
+export PRODUCT="SAMPLES_SRC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${SIERPINSKY_ROOT_DIR}" ]; then
check_lib_version VERSION ${SIERPINSKY_ROOT_DIR}/bin/salome
if [ "$?" -eq "0" ]; then
ver=`cat ${SIERPINSKY_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
# create a module directory
mkdir -p ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/SIERPINSKYbinariesV${VERSION}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SOURCE_DIR}/SIERPINSKYbinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
# modify all *.la files
export SIERPINSKY_ROOT_DIR=${PRODUCT_DIR}
-modif_la_files ${PRODUCT_DIR}
+if [ "$SINGLE_DIR" != "1" ] ; then modif_la_files ${PRODUCT_DIR} ; fi
print_env
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export PRODUCT_TYPE=$6;
SINGLE_DIR=$7
if [ "$SINGLE_DIR" == "1" ] ; then
- export PRODUCT=SALOME_${VERSION}
+ export PRODUCT=SALOME_${SALOME_VERSION}
else
- export PRODUCT=SIERPINSKY_${VERSION}
+ export PRODUCT=SIERPINSKY_${SALOME_VERSION}
fi
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${SIERPINSKY_SRC_DIR}" ]; then
if [ -f ${SIERPINSKY_SRC_DIR}/configure.in.base ]; then
ver=`grep -E "^VERSION=" ${SIERPINSKY_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/SIERPINSKYsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/SIERPINSKYsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
# build sources
prod_bin=`echo $PRODUCT_TYPE | sed "s%src%bin%g"`
-mkdir -p ${INSTALL_ROOT}/SIERPINSKY_${VERSION}
+mkdir -p ${INSTALL_ROOT}/SIERPINSKY_${SALOME_VERSION}
if [ -e ./build.sh ] ; then
cp -f ./build.sh ${INSTALL_ROOT}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="SIERPINSKYsrc" ; fi
-export PRODUCT="SIERPINSKY_SRC_${VERSION}"
+export PRODUCT="SIERPINSKY_SRC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${SMESH_ROOT_DIR}" ]; then
check_lib_version VERSION ${SMESH_ROOT_DIR}/bin/salome
if [ "$?" -eq "0" ]; then
ver=`cat ${SMESH_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
# create a module directory
mkdir -p ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/SMESHbinariesV${VERSION}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SOURCE_DIR}/SMESHbinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
# modify all *.la files
export SMESH_ROOT_DIR=${PRODUCT_DIR}
-modif_la_files ${PRODUCT_DIR}
+if [ "$SINGLE_DIR" != "1" ] ; then modif_la_files ${PRODUCT_DIR} ; fi
print_env
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export PRODUCT_TYPE=$6;
SINGLE_DIR=$7
if [ "$SINGLE_DIR" == "1" ] ; then
- export PRODUCT=SALOME_${VERSION}
+ export PRODUCT=SALOME_${SALOME_VERSION}
else
- export PRODUCT=SMESH_${VERSION}
+ export PRODUCT=SMESH_${SALOME_VERSION}
fi
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${SMESH_SRC_DIR}" ]; then
if [ -f ${SMESH_SRC_DIR}/configure.in.base ]; then
ver=`grep -E "^VERSION=" ${SMESH_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/SMESHsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/SMESHsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
# build sources
prod_bin=`echo $PRODUCT_TYPE | sed "s%src%bin%g"`
-mkdir -p ${INSTALL_ROOT}/SMESH_${VERSION}
+mkdir -p ${INSTALL_ROOT}/SMESH_${SALOME_VERSION}
if [ -e ./build.sh ] ; then
cp -f ./build.sh ${INSTALL_ROOT}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="SMESHsrc" ; fi
-export PRODUCT="SMESH_SRC_${VERSION}"
+export PRODUCT="SMESH_SRC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${SUPERV_ROOT_DIR=}" ]; then
check_lib_version VERSION ${SUPERV_ROOT_DIR}/bin/salome
if [ "$?" -eq "0" ]; then
ver=`cat ${SUPERV_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
# create a module directory
mkdir -p ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/SUPERVbinariesV${VERSION}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SOURCE_DIR}/SUPERVbinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
# modify all *.la files
export SUPERV_ROOT_DIR=${PRODUCT_DIR}
-modif_la_files ${PRODUCT_DIR}
+if [ "$SINGLE_DIR" != "1" ] ; then modif_la_files ${PRODUCT_DIR} ; fi
print_env
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export PRODUCT_TYPE=$6;
SINGLE_DIR=$7
if [ "$SINGLE_DIR" == "1" ] ; then
- export PRODUCT=SALOME_${VERSION}
+ export PRODUCT=SALOME_${SALOME_VERSION}
else
- export PRODUCT=SUPERV_${VERSION}
+ export PRODUCT=SUPERV_${SALOME_VERSION}
fi
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${SUPERV_SRC_DIR}" ]; then
if [ -f ${SUPERV_SRC_DIR}/configure.in.base ]; then
ver=`grep -E "^VERSION=" ${SUPERV_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/SUPERVsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/SUPERVsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
# build sources
prod_bin=`echo $PRODUCT_TYPE | sed "s%src%bin%g"`
-mkdir -p ${INSTALL_ROOT}/SUPERV_${VERSION}
+mkdir -p ${INSTALL_ROOT}/SUPERV_${SALOME_VERSION}
if [ -e ./build.sh ] ; then
cp -f ./build.sh ${INSTALL_ROOT}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="SUPERVsrc" ; fi
-export PRODUCT="SUPERV_SRC_${VERSION}"
+export PRODUCT="SUPERV_SRC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${VISU_ROOT_DIR}" ]; then
check_lib_version VERSION ${VISU_ROOT_DIR}/bin/salome
if [ "$?" -eq "0" ]; then
ver=`cat ${VISU_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
# create a module directory
mkdir -p ${PRODUCT_DIR}
-check_jb tar xfz ${SOURCE_DIR}/VISUbinariesV${VERSION}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SOURCE_DIR}/VISUbinariesV${SALOME_VERSION}.tar.gz -C ${PRODUCT_DIR}
# modify all *.la files
export VISU_ROOT_DIR=${PRODUCT_DIR}
-modif_la_files ${PRODUCT_DIR}
+if [ "$SINGLE_DIR" != "1" ] ; then modif_la_files ${PRODUCT_DIR} ; fi
print_env
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export PRODUCT_TYPE=$6;
SINGLE_DIR=$7
if [ "$SINGLE_DIR" == "1" ] ; then
- export PRODUCT=SALOME_${VERSION}
+ export PRODUCT=SALOME_${SALOME_VERSION}
else
- export PRODUCT=VISU_${VERSION}
+ export PRODUCT=VISU_${SALOME_VERSION}
fi
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
#
####################################################################################
-VERSION="3.2.10"
-
check_version(){
if [ -n "${VISU_SRC_DIR}" ]; then
if [ -f ${VISU_SRC_DIR}/configure.in.base ]; then
ver=`grep -E "^VERSION=" ${VISU_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' `
- if [ "$ver" = "${VERSION}" ]; then
+ if [ "$ver" = "${SALOME_VERSION}" ]; then
return 0
fi
fi
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
-check_jb tar xfz ${SOURCE_DIR}/VISUsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/VISUsourcesV${SALOME_VERSION}.tar.gz -C ${INSTALL_ROOT}
print_env
}
# build sources
prod_bin=`echo $PRODUCT_TYPE | sed "s%src%bin%g"`
-mkdir -p ${INSTALL_ROOT}/VISU_${VERSION}
+mkdir -p ${INSTALL_ROOT}/VISU_${SALOME_VERSION}
if [ -e ./build.sh ] ; then
cp -f ./build.sh ${INSTALL_ROOT}
return 1
}
+source ./common.sh
+
export PROCEDURE=$1;
export INSTALL_WORK=$2;
export SOURCE_DIR=$3;
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="VISUsrc" ; fi
-export PRODUCT="VISU_SRC_${VERSION}"
+export PRODUCT="VISU_SRC_${SALOME_VERSION}"
export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
$PROCEDURE
export SHRC="salome.sh"
export CSHRC="salome.csh"
+#####################################################
+# !WARNING! This is current SALOME version number
+####################################################
+export SALOME_VERSION="3.2.10"
+
#this function takes several parameters
#first parameter contains descriptor of output file
#next parameters is command for execution
srcdir=`pwd`
-SALOME_MODULES="`env | awk -F_ '/[[:alnum:]]*_ROOT_DIR/ { print $1 }'`"
+#SALOME_MODULES="`env | awk -F_ '/[[:alnum:]]*_ROOT_DIR/ { print $1 }'`"
+SALOME_MODULES="`env | awk -F_ '/[a-zA-Z0-9]*_ROOT_DIR/ { print $1 }' | grep -v -E '^SALOME$'`"
cd $ldir
ldir=`pwd`
l=`basename $l`
cd $ldir; cd $d
# 1. process salome modules dependencies
+
for mod in $SALOME_MODULES; do
moddir=`printenv ${mod}_ROOT_DIR`
if [ -n "${moddir}" ] ; then
#echo $l $mod $moddir
- sed -e "s%[[:space:]]\(-L\)\?[^[:space:]]*${mod}[^[:space:]/]*/lib% \1${moddir}/lib%g" $l > $l"_"
+# sed -e "s%[[:space:]]\(-L\)\?[^[:space:]]*${mod}[^[:space:]/]*/\(lib\|lib64\)% \1${moddir}/${myldir}%g" $l > $l"_"
+# sed -e "s%[[:space:]]\(-L\)\?[^[:space:]]*${mod}[^[:space:]/]*/lib% \1${moddir}/lib%g" $l > $l"_"
+ sed -e "s%[[:space:]]\(-L\)\?[^[:space:]]*${mod}[^[:space:]/]*/lib% \1${moddir}/lib%g" \
+ -e "s%^libdir='[^[:space:]]*${mod}[^[:space:]]*/\(lib.*\)'%libdir='${moddir}/\1'%g" $l > $l"_"
mv -f $l"_" $l
+# for mod1 in $SALOME_MODULES; do
+# sed -e "s%[[:space:]]\(-L\)\?[^[:space:]]*${mod1}[^[:space:]]*/${mod1}_build%%g" $l > $l"_"
+# mv -f $l"_" $l
+# done
fi
done
+
# 2. process CAS.CADE dependencies
casdir=`printenv CASROOT`/lib
if [ ! -d ${casdir} ] ; then casdir=`printenv CASROOT`/Linux/lib ; fi
if [ ! -d ${omnidir} ] ; then omnidir=`printenv OMNIORBDIR`/lib ; fi
if [ -n "${OMNIORBDIR}" ] && [ -d "${omnidir}" ] ; then
# echo $l $OMNIORBDIR $omnidir
- sed -e "s%-L[^[:space:]]*omni[^[:space:]]*%-L${omnidir}%g" $l > $l"_"
+ sed -e "s%-L[^[:space:]]*omni[^[:space:]]*%-L${omnidir}%g" \
+ -e "s%-R[^[:space:]]*omni[^[:space:]]*%-R${omnidir}%g" $l > $l"_"
mv -f $l"_" $l
fi
# 4. process VTK dependencies
- if test `uname -m` = "x86_64" ; then
- vtkdir=`printenv VTKHOME`/lib64/vtk
+ vtkpath=`printenv VTKHOME`
+ if [ `uname -m` = "x86_64" ] && [ -d ${vtkpath}/lib64 ] ; then
+ LIB_PREFIX=64
+ elif [ -d ${vtkpath}/lib ] ; then
+ LIB_PREFIX=""
else
- vtkdir=`printenv VTKHOME`/lib/vtk
+ LIB_PREFIX=64
fi
- if [ -n "${VTKHOME}" ] && [ -d "${vtkdir}" ] ; then
+ vtkldir=${vtkpath}/lib${LIB_PREFIX}
+ vtkdir=${vtkldir}/vtk
+ if [ -n "${VTKHOME}" ] && [ -d "${vtkdir}" ] && [ -d "${vtkldir}" ] ; then
# echo $l $VTKHOME $vtkdir
- sed -e "s%-L[^[:space:]]*VTK[^[:space:]]*/\(lib\|lib64\)/vtk%-L${vtkdir}%g" $l > $l"_"
+ sed -e "s%-L[^[:space:]]*VTK[^[:space:]]*/\(lib\|lib64\)/vtk%-L${vtkdir}%g" \
+ -e "s%-L[^[:space:]]*VTK[^[:space:]]*/\(lib\|lib64\)%-L${vtkldir}%g" $l > $l"_"
mv -f $l"_" $l
fi
# 5. process HDF dependencies
sed -e "s%-L[^[:space:]]*boost[^[:space:]]*/lib%-L${boostdir}%g" $l > $l"_"
mv -f $l"_" $l
fi
- # 14. modify libdir
- #sed -e "s%^libdir='\(.*\)'%libdir='${PRODUCT_DIR}/lib/salome'%g" $l > $l"_"
- mod=`basename $ldir | awk -F_ '{print $1}'`
- moddir=`printenv ${mod}_ROOT_DIR`
- sed -e "s%^libdir='[^[:space:]]*${mod}[^[:space:]]*/\(lib.*\)'%libdir='${moddir}/\1'%g" $l > $l"_"
- mv -f $l"_" $l
+
+ blsurfdir=`printenv BLSURFHOME`/lib
+ if [ -n "${blsurfdir}" ] && [ -d "${blsurfdir}" ] ; then
+ # echo $l $BOOSTDIR $boostdir
+ sed -e "s%-L[^[:space:]]*blsurf[^[:space:]]*/lib%-L${blsurfdir}%g" $l > $l"_"
+ mv -f $l"_" $l
+ fi
+
+# # 14. modify libdir
+# #sed -e "s%^libdir='\(.*\)'%libdir='${PRODUCT_DIR}/lib/salome'%g" $l > $l"_"
+# mod=`basename $ldir | awk -F_ '{print $1}'`
+# moddir=`printenv ${mod}_ROOT_DIR`
+# sed -e "s%^libdir='[^[:space:]]*${mod}[^[:space:]]*/\(lib.*\)'%libdir='${moddir}/\1'%g" $l > $l"_"
+# mv -f $l"_" $l
+
+ # 15. process libxml dependencies
+# libxmldir=`printenv LIBXML_DIR`/lib
+# if [ ! -d ${libxmldir} ] ; then libxmldir=`printenv LIBXML_DIR`/lib ; fi
+# sed -e "s%[[:space:]]\(-L\)\?[^[:space:]]*libxml2-[0-9]\.[0-9]\.[0-9][0-9]/lib% \1${libxmldir}%g" $l > $l"_"
+# mv -f $l"_" $l
+
+ # 16. process metis dependencies
+# metisdir=`printenv METISDIR`
+# if [ ! -d ${metisdir} ] ; then metisdir=`printenv METISDIR` ; fi
+# sed -e "s%-L[^[:space:]]*metis[^[:space:]]*%-L${metisdir}%g" $l > $l"_"
+# mv -f $l"_" $l
+
+ # 17. process scotch dependencies
+# scotchdir=`printenv SCOTCHDIR`/bin
+# if [ ! -d ${scotchdir} ] ; then scotchdir=`printenv SCOTCHDIR`/bin ; fi
+# sed -e "s%-L[^[:space:]]*scotch[^[:space:]]*/bin%-L${scotchdir}%g" $l > $l"_"
+# mv -f $l"_" $l
+
+ # 18. process libGL.la dependencies
+ if test `uname -m` = "x86_64" ; then
+ libGLpath=/usr/lib64/libGL.la
+ else
+ libGLpath=/usr/lib/libGL.la
+ fi
+ sed -e "s%$libGLpath%""%g" $l > $l"_"
+ mv -f $l"_" $l
+
+ # 19. process graphviz dependencies
+ graphvizdir=`printenv GRAPHVIZHOME`/lib
+ if [ ! -d ${graphvizdir} ] ; then graphvizdir=`printenv GRAPHVIZHOME`/lib ; fi
+ sed -e "s%[[:space:]]\(-L\)\?[^[:space:]]*graphviz-[0-9]\.[0-9]\+\.[0-9]/lib% \1${graphvizdir}%g" $l > $l"_"
+ chmod -f --reference=$l $l"_"
+ mv -f $l"_" $l
+
fi
done
--- /dev/null
+#!/bin/bash -noprofile
+
+####################################################################################
+# File : modify_la_files.sh
+# Created : Thu May 15 20:11:34 2008
+# 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.
+#
+####################################################################################
+
+source ./common.sh
+
+export INSTALL_WORK=$1;
+export INSTALL_ROOT=$2
+export PRODUCT_SEQUENCE=$3;
+export PRODUCT_DIR=${INSTALL_ROOT}/SALOME_${SALOME_VERSION}
+
+### call functions from common.sh
+
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+source ${INSTALL_WORK}/$SHRC
+modif_la_files ${PRODUCT_DIR}