5 check_lib_version doxygen $PATH
6 if [ "$?" -ne "0" ]; then
9 check_lib_version doxytag $PATH
10 if [ "$?" -ne "0" ]; then
13 check_lib_version doxywizard $PATH
14 if [ "$?" -ne "0" ]; then
17 ver=`doxygen --version`
18 if [ "$ver" == "1.3.7" ]; then
26 cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
27 #$DELIM ${PRODUCT_TYPE} $DELIM
28 export PATH=\${INSTALL_ROOT}/${PRODUCT}/bin:\${PATH}
31 (test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
32 make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
35 # looks for the native product and collects it's environment (used by make_env())
38 if [ $? -eq 0 ] ; then
39 doxygen="`find_in_path doxygen ${PATH}`"
40 tmp="${doxygen} ${doxygen} \${PATH} ${PATH}";
41 path=`sort_path ${tmp}`
42 cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
43 #$DELIM ${PRODUCT_TYPE} $DELIM
47 make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
54 try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
60 echo "The installation of doxygen 1.3.7 from sources is not provided! Use native doxygen."
66 make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
67 source ${INSTALL_WORK}/$SHRC
69 check_jb tar xfz ${SOURCE_DIR}/doxygen-1.3.7.tar.gz -C ${INSTALL_ROOT}
75 export INSTALL_WORK=$2;
77 export INSTALL_ROOT=$4;
78 export PRODUCT_SEQUENCE=$5;
79 if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="doxygen" ; fi
80 export PRODUCT="doxygen-1.3.7"
81 export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
82 export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}