installdiskspace="1305,1489,1401"
script="libBatch-1.0.0.sh"/>
</product>
+ <product name="YACSGEN"
+ type="prerequisite"
+ description="Component and module generator for SALOME">
+ <installation os="Debian 3.1"
+ version="5.1.3"
+ disable="false"
+ installdiskspace="1305,1489,1401"
+ script="YACSGEN-5.1.3.sh"/>
+ </product>
<product name="Numeric"
type="prerequisite"
description="Numerical extension to Python">
<dep>Swig</dep>
<dep>cmake</dep>
</product>
+ <product name="YACSGEN">
+ <dep>Python</dep>
+ </product>
<product name="xdata">
<dep>Python</dep>
<dep>Qt</dep>
installdiskspace="1305,1489,1401"
script="libBatch-1.0.0.sh"/>
</product>
+ <product name="YACSGEN"
+ type="prerequisite"
+ description="Component and module generator for SALOME">
+ <installation os="Debian 4.0"
+ version="5.1.3"
+ disable="false"
+ installdiskspace="1305,1489,1401"
+ script="YACSGEN-5.1.3.sh"/>
+ </product>
<product name="Numeric"
type="prerequisite"
description="Numerical extension to Python">
<dep>Swig</dep>
<dep>cmake</dep>
</product>
+ <product name="YACSGEN">
+ <dep>Python</dep>
+ </product>
<product name="xdata">
<dep>Python</dep>
<dep>Qt</dep>
installdiskspace="1305,1489,1401"
script="libBatch-1.0.0.sh"/>
</product>
+ <product name="YACSGEN"
+ type="prerequisite"
+ description="Component and module generator for SALOME">
+ <installation os="Debian 4.0 64bit"
+ version="5.1.3"
+ disable="false"
+ installdiskspace="1305,1489,1401"
+ script="YACSGEN-5.1.3.sh"/>
+ </product>
<product name="Numeric"
type="prerequisite"
description="Numerical extension to Python">
<dep>Swig</dep>
<dep>cmake</dep>
</product>
+ <product name="YACSGEN">
+ <dep>Python</dep>
+ </product>
<product name="xdata">
<dep>Python</dep>
<dep>Qt</dep>
installdiskspace="1305,1489,1401"
script="libBatch-1.0.0.sh"/>
</product>
+ <product name="YACSGEN"
+ type="prerequisite"
+ description="Component and module generator for SALOME">
+ <installation os="Fedora Core 6"
+ version="5.1.3"
+ disable="false"
+ installdiskspace="1305,1489,1401"
+ script="YACSGEN-5.1.3.sh"/>
+ </product>
<product name="Numeric"
type="prerequisite"
description="Numerical extension to Python">
<dep>Swig</dep>
<dep>cmake</dep>
</product>
+ <product name="YACSGEN">
+ <dep>Python</dep>
+ </product>
<product name="xdata">
<dep>Python</dep>
<dep>Qt</dep>
installdiskspace="1305,1489,1401"
script="libBatch-1.0.0.sh"/>
</product>
+ <product name="YACSGEN"
+ type="prerequisite"
+ description="Component and module generator for SALOME">
+ <installation os="Mandriva 2006.0"
+ version="5.1.3"
+ disable="false"
+ installdiskspace="1305,1489,1401"
+ script="YACSGEN-5.1.3.sh"/>
+ </product>
<product name="Numeric"
type="prerequisite"
description="Numerical extension to Python">
<dep>Swig</dep>
<dep>cmake</dep>
</product>
+ <product name="YACSGEN">
+ <dep>Python</dep>
+ </product>
<product name="xdata">
<dep>Python</dep>
<dep>Qt</dep>
installdiskspace="1305,1489,1401"
script="libBatch-1.0.0.sh"/>
</product>
+ <product name="YACSGEN"
+ type="prerequisite"
+ description="Component and module generator for SALOME">
+ <installation os="Mandriva 2006.0 64bit"
+ version="5.1.3"
+ disable="false"
+ installdiskspace="1305,1489,1401"
+ script="YACSGEN-5.1.3.sh"/>
+ </product>
<product name="Numeric"
type="prerequisite"
description="Numerical extension to Python">
<dep>Swig</dep>
<dep>cmake</dep>
</product>
+ <product name="YACSGEN">
+ <dep>Python</dep>
+ </product>
<product name="xdata">
<dep>Python</dep>
<dep>Qt</dep>
installdiskspace="1305,1489,1401"
script="libBatch-1.0.0.sh"/>
</product>
+ <product name="YACSGEN"
+ type="prerequisite"
+ description="Component and module generator for SALOME">
+ <installation os="Mandriva 2008.0"
+ version="5.1.3"
+ disable="false"
+ installdiskspace="1305,1489,1401"
+ script="YACSGEN-5.1.3.sh"/>
+ </product>
<product name="Numeric"
type="prerequisite"
description="Numerical extension to Python">
<dep>Swig</dep>
<dep>cmake</dep>
</product>
+ <product name="YACSGEN">
+ <dep>Python</dep>
+ </product>
<product name="xdata">
<dep>Python</dep>
<dep>Qt</dep>
installdiskspace="1305,1489,1401"
script="libBatch-1.0.0.sh"/>
</product>
+ <product name="YACSGEN"
+ type="prerequisite"
+ description="Component and module generator for SALOME">
+ <installation os="Mandriva 2008.0 64bit"
+ version="5.1.3"
+ disable="false"
+ installdiskspace="1305,1489,1401"
+ script="YACSGEN-5.1.3.sh"/>
+ </product>
<product name="Numeric"
type="prerequisite"
description="Numerical extension to Python">
<dep>Swig</dep>
<dep>cmake</dep>
</product>
+ <product name="YACSGEN">
+ <dep>Python</dep>
+ </product>
<product name="xdata">
<dep>Python</dep>
<dep>Qt</dep>
installdiskspace="1305,1489,1401"
script="libBatch-1.0.0.sh"/>
</product>
+ <product name="YACSGEN"
+ type="prerequisite"
+ description="Component and module generator for SALOME">
+ <installation os="Red Hat Enterprise WS 4 64bit"
+ version="5.1.3"
+ disable="false"
+ installdiskspace="1305,1489,1401"
+ script="YACSGEN-5.1.3.sh"/>
+ </product>
<product name="Numeric"
type="prerequisite"
description="Numerical extension to Python">
<dep>Swig</dep>
<dep>cmake</dep>
</product>
+ <product name="YACSGEN">
+ <dep>Python</dep>
+ </product>
<product name="xdata">
<dep>Python</dep>
<dep>Qt</dep>
installdiskspace="1305,1489,1401"
script="libBatch-1.0.0.sh"/>
</product>
+ <product name="YACSGEN"
+ type="prerequisite"
+ description="Component and module generator for SALOME">
+ <installation os="Scientific SL 5.1 64bit"
+ version="5.1.3"
+ disable="false"
+ installdiskspace="1305,1489,1401"
+ script="YACSGEN-5.1.3.sh"/>
+ </product>
<product name="Numeric"
type="prerequisite"
description="Numerical extension to Python">
<dep>Swig</dep>
<dep>cmake</dep>
</product>
+ <product name="YACSGEN">
+ <dep>Python</dep>
+ </product>
<product name="xdata">
<dep>Python</dep>
<dep>Qt</dep>
--- /dev/null
+#!/bin/bash -noprofile
+
+####################################################################################
+# File : YACSGEN-5.1.4.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.
+#
+####################################################################################
+
+YACSGEN_VERSION=5.1.3
+
+check_version(){
+# No way to check version!
+return 0
+}
+
+print_env_bin()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export YACSGEN_ROOT_DIR=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
+export PYTHON_VERSION=\`python -c "import sys; print sys.version[:3]"\`
+export PYTHONPATH=\${YACSGEN_ROOT_DIR}/lib/python\${PYTHON_VERSION}/site-packages/module_generator:\${PYTHONPATH}
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
+}
+
+print_env_src()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <<EOF
+#$DELIM ${PRODUCT_TYPE}_src $DELIM
+# nothing to do
+##
+EOF
+(test -w ${PRODUCT_SRC_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh ${PRODUCT_SRC_DIR})
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
+try_existing ${PRODUCT_SRC_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
+return $?
+}
+
+install_source()
+{
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SRC_DIR}/${PRODUCT}.tar.gz -C ${INST_ROOT}
+
+# to generate environment scripts
+try_preinstalled
+}
+
+install_source_and_build()
+{
+# install sources
+install_source
+
+# build sources
+
+cd ${PRODUCT_SRC_DIR}
+test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
+
+check_job ${PRODUCT_DIR}/MAKE.LOG ./setup.py install --prefix=${PRODUCT_DIR}
+
+cd ${PRODUCT_DIR};
+
+# remove sources and temporary files after building
+if [ ${REMOVE_SRC_TMP} == "TRUE" ] ; then
+ test -d ${PRODUCT_SRC_DIR} && rm -fr ${PRODUCT_SRC_DIR}
+fi
+
+# 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}/${PRODUCT}.tar.gz -C ${PRODUCT_DIR}
+
+# to generate environment scripts
+try_preinstalled
+}
+
+source ./common.sh
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INST_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+export PRODUCT_TYPE=$6;
+export INSTALL_PRODUCTS=$7;
+SRC_DIR=$8;
+shift
+REMOVE_SRC_TMP=$8;
+shift
+SINGLE_DIR=$9;
+if [ -n "$SINGLE_DIR" ] ; then SINGLE_DIR=$SDIR_NAME; fi
+export PRODUCT="YACSGEN-${YACSGEN_VERSION}"
+export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
+export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT}_SRC
+$PROCEDURE