]> Creatis software - cpPlugins.git/blobdiff - third_party_installers/cpPlugins_Install_QT4.sh
Third-party installers updated.
[cpPlugins.git] / third_party_installers / cpPlugins_Install_QT4.sh
index cb3afc329a1b7b809468296ca785b8b7d10e6836..7f761cffb2cf2002ad077d2d4cbe3ac09f64367d 100755 (executable)
@@ -1,5 +1,10 @@
 #!/bin/bash
 
+## Some configuration variables
+number_of_processes="-j4"
+comp_type=-debug-and-release
+# particular_options=-no-framework
+
 ## Check input parameters and process inputs (if needed)
 if [ "$#" -eq 1 ]; then
     valid_extensions=("zip" "tar" "tar.gz" "tar.bz2")
@@ -52,14 +57,21 @@ echo "Configuring sources... "
 cd $build_dir
 $source_dir/configure \
     -prefix ${HOME}/local \
-    -release -opensource -shared -fast -no-webkit \
-    -optimized-qmake -no-framework \
-    -confirm-license yes
+    $comp_type \
+    -opensource -shared -fast \
+    -no-phonon \
+    -no-phonon-backend \
+    -no-webkit \
+    -no-openvg \
+    -nomake demos -nomake examples \
+    -optimized-qmake \
+    $particular_options \
+    -confirm-license
 echo "Configuring sources... done."
 
 echo "Compiling sources..."
 cd $build_dir
-make
+make $number_of_processes
 echo "Compiling sources... done."
 
 echo "Installing package..."