]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Minor improvements
authorvsr <vsr@opencascade.com>
Wed, 21 Oct 2009 20:18:52 +0000 (20:18 +0000)
committervsr <vsr@opencascade.com>
Wed, 21 Oct 2009 20:18:52 +0000 (20:18 +0000)
config_files/expat-2.0.1.sh
config_files/ghs3d-4.0.sh
config_files/libxml2-2.7.3.sh

index 8fd8eec89aeabe7e9105003830ddc7cda6f95433..ee90ceb4d057e46d65a2b4876ccbd046e300f407 100755 (executable)
 #
 ####################################################################################
 
+#
+# expat version
+#
+EXPAT_VERSION=2.0.1
+
 check_version(){
 # It is not necessary to check version!
 return 0
@@ -118,7 +123,7 @@ export INSTALL_PRODUCTS=$7;
 shift
 REMOVE_SRC_TMP=$8;
 test $# == 10 && shift && SINGLE_DIR=$9
-export PRODUCT="expat-2.0.1"
+export PRODUCT="expat-${EXPAT_VERSION}"
 export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
 export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
 export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT}_SRC
index 385d9064ddae8a83351b1222e50f13226d4fc998..9d5992dfadccc73f1351148432a3b23d4d3077b9 100755 (executable)
 #
 ####################################################################################
 
+#
+# ghs3d version
+#
+GHS3D_VERSION=4.0
+
 check_version(){
 # No way to check version!
 return 0
@@ -21,7 +26,7 @@ print_env_bin()
 {
 cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
 #$DELIM ${PRODUCT_TYPE} $DELIM 
-export PATH=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}/DISTENE/Tools/TetMesh-GHS3D4.0/bin:\$PATH
+export PATH=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}/DISTENE/Tools/TetMesh-GHS3D${GHS3D_VERSION}/bin:\$PATH
 ##
 EOF
 (test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
@@ -81,7 +86,7 @@ REMOVE_SRC_TMP=$9;
 shift
 BIN_DIR=$9;
 test $# == 10 && shift && SINGLE_DIR=$9
-export PRODUCT="ghs3d-4.0"
+export PRODUCT="ghs3d-${GHS3D_VERSION}"
 export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
 export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
 export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT}_SRC
index f0524800a442fd98369772f02b94d90c83c6567a..171cdd0a221ad23b34aa98bee475fee26f4b27bb 100755 (executable)
 #
 ####################################################################################
 
+#
+# libxml version
+#
+LIBXML_VERSION=2.7.3
+
 check_version(){
 # No way to check version!
 return 0
@@ -131,7 +136,7 @@ SRC_DIR=$8;
 shift
 REMOVE_SRC_TMP=$8;
 test $# == 10 && shift && SINGLE_DIR=$9
-export PRODUCT="libxml2-2.7.3"
+export PRODUCT="libxml2-${LIBXML_VERSION}"
 export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
 export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
 export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT}_SRC