From 09241fd06d896f85520be2ca01f498ef1c8340b8 Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 19 Sep 2003 05:55:15 +0000 Subject: [PATCH] Initial version --- config_files/VTK-4.2.2.sh | 139 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100755 config_files/VTK-4.2.2.sh diff --git a/config_files/VTK-4.2.2.sh b/config_files/VTK-4.2.2.sh new file mode 100755 index 0000000..d2552fc --- /dev/null +++ b/config_files/VTK-4.2.2.sh @@ -0,0 +1,139 @@ +#!/bin/sh + +check_version() +{ +if [ -z "$VTKHOME" ]; then + #echo "VTKHOME doesn't set" + return 1 +fi +check_lib_version libvtkCommon.so ${VTKHOME}/lib/vtk +if [ "$?" -eq "0" ]; then + #echo "The product ${PRODUCT} has been already installed on yours system" + return 0 +fi +return 1 +} + +print_env() +{ +cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <> ${PRODUCT_DIR}/MAKEcmake.LOG < ${PRODUCT_DIR}/CONFIGURE.LOG < ${PRODUCT_DIR}/MAKE.LOG <