]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
*** empty log message ***
authorvsr <vsr@opencascade.com>
Tue, 25 Oct 2005 09:41:39 +0000 (09:41 +0000)
committervsr <vsr@opencascade.com>
Tue, 25 Oct 2005 09:41:39 +0000 (09:41 +0000)
config_files/SWIG-1.3.17.sh
config_files/msg2qm.sh
config_files/qwt-0.4.1.sh

index 4b6a36666231ad26d521390adcac6bc88caa46db..79e36dc5d7fe7855366f0e0c61629f31799cd510 100755 (executable)
@@ -75,6 +75,7 @@ EOF
 check_job ${PRODUCT_DIR}/MAKE.LOG make
 check_job ${PRODUCT_DIR}/MAKINSTALL.LOG make install 
 
+#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
 rm -fr ${PRODUCT_WORK}
 print_env
 }
index f03abb439b682f179a124771433d2023f57ac9bb..b6405970fae5c61ad4e39cf29dce8c4ae1e0d2e6 100755 (executable)
@@ -64,6 +64,7 @@ EOF
 check_job ${PRODUCT_DIR}/MAKE.LOG make 
 cp -f msg2qm ${PRODUCT_DIR}
 
+#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
 rm -rf ${PRODUCT_WORK}
 
 print_env
index 404669ad1439b732250e89e527345a9fa46b3b1e..514652f617890abd87bd1570134bc1f8b13bb36d 100755 (executable)
@@ -52,8 +52,27 @@ return $?
 
 install_source()
 {
-echo "The installation of qwt 0.4.1 from sources is not supported!"
-return 1
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/qwt-0.4.1.tar.gz -C ${INSTALL_WORK}
+cd ${PRODUCT_WORK}
+makedir ${PRODUCT_DIR}
+
+qmake qwt.pro -o Makefile
+
+GCC=`which gcc`
+cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
+used gcc=$GCC
+EOF
+
+check_job ${PRODUCT_DIR}/MAKE.LOG make 
+cp -rf include lib ${PRODUCT_DIR}
+
+#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
+rm -rf ${PRODUCT_WORK}
+
+print_env
 }
 
 install_binary()