#
####################################################################################
+#
+# expat version
+#
+EXPAT_VERSION=2.0.1
+
check_version(){
# It is not necessary to check version!
return 0
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
#
####################################################################################
+#
+# ghs3d version
+#
+GHS3D_VERSION=4.0
+
check_version(){
# No way to check version!
return 0
{
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})
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
#
####################################################################################
+#
+# libxml version
+#
+LIBXML_VERSION=2.7.3
+
check_version(){
# No way to check version!
return 0
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