From fb0a34757ac0773bebbfd5969f3179a9efdc2be4 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 21 Oct 2009 20:18:52 +0000 Subject: [PATCH] Minor improvements --- config_files/expat-2.0.1.sh | 7 ++++++- config_files/ghs3d-4.0.sh | 9 +++++++-- config_files/libxml2-2.7.3.sh | 7 ++++++- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/config_files/expat-2.0.1.sh b/config_files/expat-2.0.1.sh index 8fd8eec..ee90ceb 100755 --- a/config_files/expat-2.0.1.sh +++ b/config_files/expat-2.0.1.sh @@ -12,6 +12,11 @@ # #################################################################################### +# +# 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 diff --git a/config_files/ghs3d-4.0.sh b/config_files/ghs3d-4.0.sh index 385d906..9d5992d 100755 --- a/config_files/ghs3d-4.0.sh +++ b/config_files/ghs3d-4.0.sh @@ -12,6 +12,11 @@ # #################################################################################### +# +# 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 <