description="SALOME platform PYCALCULATOR module">
<installation os="CentOS 5.5 64bit"
version="7.2.0"
- disable="false"
+ disable="true"
installdiskspace="220,2060,5764"
script="PYCALCULATOR.sh"/>
</product>
version="30_018oss"
disable="false"
installdiskspace="86460,273932,478152"
- script="tbb30_018oss.sh"/>
+ script="tbb.sh"/>
</product>
<product name="OpenCascade"
type="prerequisite"
description="SALOME platform PYCALCULATOR module">
<installation os="Debian 6.0 64bit"
version="7.2.0"
- disable="false"
+ disable="true"
installdiskspace="220,2060,5764"
script="PYCALCULATOR.sh"/>
</product>
version="30_018oss"
disable="false"
installdiskspace="86460,273932,478152"
- script="tbb30_018oss.sh"/>
+ script="tbb.sh"/>
</product>
<product name="OpenCascade"
type="prerequisite"
description="SALOME platform PYCALCULATOR module">
<installation os="Mandriva 2010.0"
version="7.2.0"
- disable="false"
+ disable="true"
installdiskspace="220,2060,5764"
script="PYCALCULATOR.sh"/>
</product>
version="30_018oss"
disable="false"
installdiskspace="86460,273932,478152"
- script="tbb30_018oss.sh"/>
+ script="tbb.sh"/>
</product>
<product name="OpenCascade"
type="prerequisite"
description="SALOME platform PYCALCULATOR module">
<installation os="Mandriva 2010.0 64bit"
version="7.2.0"
- disable="false"
+ disable="true"
installdiskspace="220,2060,5764"
script="PYCALCULATOR.sh"/>
</product>
version="30_018oss"
disable="false"
installdiskspace="86460,273932,478152"
- script="tbb30_018oss.sh"/>
+ script="tbb.sh"/>
</product>
<product name="OpenCascade"
type="prerequisite"
# [-]
local patch_build_procedure=1
if [ "${patch_build_procedure}" = "1" ] ; then
- echo -n ".. Patching freeimage sources: fix build procedure..." && \
- cd ${PRODUCT_SRC_DIR} && \
- sed -i "s%DESTDIR ?= /%DESTDIR ?= /usr%g;s%INCDIR ?= \$(DESTDIR)/usr/include%INCDIR ?= \$(DESTDIR)/include%g;s%INSTALLDIR ?= \$(DESTDIR)/usr/lib%INSTALLDIR ?= \$(DESTDIR)/lib%g;s%-o root -g root %%g" Makefile.gnu >& /dev/null && \
- sed -i "s%DESTDIR ?= /%DESTDIR ?= /usr%g;s%INCDIR ?= \$(DESTDIR)/usr/include%INCDIR ?= \$(DESTDIR)/include%g;s%INSTALLDIR ?= \$(DESTDIR)/usr/lib%INSTALLDIR ?= \$(DESTDIR)/lib%g;s%-o root -g root %%g" Makefile.fip >& /dev/null
+ cd ${PRODUCT_SRC_DIR}
+ sed -i "s%DESTDIR ?= /%DESTDIR ?= /usr%g;s%INCDIR ?= \$(DESTDIR)/usr/include%INCDIR ?= \$(DESTDIR)/include%g;s%INSTALLDIR ?= \$(DESTDIR)/usr/lib%INSTALLDIR ?= \$(DESTDIR)/lib%g;s%-o root -g root %%g" Makefile.gnu
+ sed -i "s%DESTDIR ?= /%DESTDIR ?= /usr%g;s%INCDIR ?= \$(DESTDIR)/usr/include%INCDIR ?= \$(DESTDIR)/include%g;s%INSTALLDIR ?= \$(DESTDIR)/usr/lib%INSTALLDIR ?= \$(DESTDIR)/lib%g;s%-o root -g root %%g" Makefile.fip
fi
# [-]
local patch_gcc47_compat=1
if [ "${patch_gcc47_compat}" = "1" ] ; then
- echo -n ".. Patching freeimage sources: gcc 4.7 compatibility..." && \
- cd ${PRODUCT_SRC_DIR} && \
- sed -i 's%\(#include "OpenEXRConfig.h"\)%\1\n#include <string.h>%g' Source/OpenEXR/IlmImf/ImfAutoArray.h >& /dev/null
+ cd ${PRODUCT_SRC_DIR}
+ sed -i 's%\(#include "OpenEXRConfig.h"\)%\1\n#include <string.h>%g' Source/OpenEXR/IlmImf/ImfAutoArray.h
fi
cd ${PRODUCT_SRC_DIR}
# install
check_job ${PRODUCT_DIR}/INSTALL.LOG make -f Makefile.gnu DESTDIR=${PRODUCT_DIR} install
-# clean temporary files.
-make -f Makefile.fip clean
+# clean temporary files
+make -f Makefile.gnu clean
## building FreeImagePlus library
# install
check_job ${PRODUCT_DIR}/INSTALLPLUS.LOG make -f Makefile.fip DESTDIR=${PRODUCT_DIR} install
-# clean temporary files.
+# clean temporary files
make -f Makefile.fip clean
cd ${PRODUCT_DIR};
--- /dev/null
+#!/bin/bash -noprofile
+
+####################################################################################
+# File : tbb.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-2013 CEA
+#
+# This script is the part of the SALOME installation procedure.
+#
+####################################################################################
+
+TBB_VERSION=30_018oss
+TBBKERNEL='cc4.1.0_libc2.4_kernel2.6.16.21'
+
+if test `uname -m` = "x86_64" ; then
+ export TBBMODE="intel64/$TBBKERNEL"
+else
+ export TBBMODE="ia32/$TBBKERNEL"
+fi
+
+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 TBBHOME=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
+export PATH=\${TBBHOME}/bin/$TBBMODE:\$PATH
+export LD_LIBRARY_PATH=\${TBBHOME}/lib/$TBBMODE:\${LD_LIBRARY_PATH}
+##
+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()
+{
+echo "It's impossible to install ${PRODUCT} from sources"
+}
+
+install_source_and_build()
+{
+install_binary
+}
+
+install_binary()
+{
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+# create a product directory
+test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
+
+check_jb tar xfz ${BIN_DIR}/${PRODUCT}.tar.gz -C ${PRODUCT_DIR}
+
+
+# to generate environment script
+try_preinstalled
+}
+
+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;
+REMOVE_SRC_TMP=$9;
+shift
+BIN_DIR=$9;
+test $# == 10 && shift && SINGLE_DIR=$9
+export PRODUCT="tbb${TBB_VERSION}"
+export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT}_SRC
+source ./common.sh
+$PROCEDURE
+++ /dev/null
-#!/bin/bash -noprofile
-
-####################################################################################
-# File : tbb30_018oss.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-2013 CEA
-#
-# This script is the part of the SALOME installation procedure.
-#
-####################################################################################
-
-
-TBBKERNEL='cc4.1.0_libc2.4_kernel2.6.16.21'
-
-if test `uname -m` = "x86_64" ; then
- export TBBMODE="intel64/$TBBKERNEL"
-else
- export TBBMODE="ia32/$TBBKERNEL"
-fi
-
-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 TBBHOME=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
-export PATH=\${TBBHOME}/bin/$TBBMODE:\$PATH
-export LD_LIBRARY_PATH=\${TBBHOME}/lib/$TBBMODE:\${LD_LIBRARY_PATH}
-##
-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()
-{
-echo "It's impossible to install ${PRODUCT} from sources"
-}
-
-install_source_and_build()
-{
-install_binary
-}
-
-install_binary()
-{
-make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-# create a product directory
-test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
-
-check_jb tar xfz ${BIN_DIR}/${PRODUCT}.tar.gz -C ${PRODUCT_DIR}
-
-
-# to generate environment script
-try_preinstalled
-}
-
-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;
-REMOVE_SRC_TMP=$9;
-shift
-BIN_DIR=$9;
-test $# == 10 && shift && SINGLE_DIR=$9
-export PRODUCT="tbb30_018oss"
-export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
-export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT}_SRC
-source ./common.sh
-$PROCEDURE