changeset 64:eb0b1b83cba1

Uploaded
author bgruening
date Sun, 20 Oct 2013 14:10:00 -0400
parents d507ebc3b071
children 441a8f8875cd
files tool_dependencies.xml
diffstat 1 files changed, 29 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Sun Oct 20 06:44:48 2013 -0400
+++ b/tool_dependencies.xml	Sun Oct 20 14:10:00 2013 -0400
@@ -1,18 +1,40 @@
+<?xml version="1.0"?>
 <tool_dependency>
-    <package name="qt" version="5.1">
+    <package name="libtool" version="2.4">
+        <repository changeset_revision="5ccfb33b5622" name="package_libtool_2_4" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="Qt" version="5.1">
+        <repository changeset_revision="e681b22bf109" name="package_qt_5_1" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="OpenMS" version="1.10.0">
         <install version="1.0">
             <actions>
-              <action type="download_by_url">http://download.qt-project.org/official_releases/qt/5.1/5.1.1/single/qt-everywhere-opensource-src-5.1.1.tar.gz</action>
-              <action type="autoconf" />
+              <action type="download_by_url">http://downloads.sourceforge.net/project/open-ms/OpenMS/OpenMS-1.10/OpenMS-1.10.0.tar.gz</action>
+
+                <!-- populate the environment variables from the dependend repos -->
+                <action type="set_environment_for_install">
+                    <repository changeset_revision="5ccfb33b5622" name="package_libtool_2_4" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
+                        <package name="libtool" version="2.4" />
+                    </repository>
+                    <repository changeset_revision="e681b22bf109" name="package_qt_5_1" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
+                        <package name="Qt" version="5.1 " />
+                    </repository>
+                </action>
+
+              <action type="change_directory">contrib</action>
+              <action type="shell_command">cmake .</action>
+              <action type="change_directory">..</action>
+              <action type="shell_command">cmake . -DINSTALL_PREFIX=$INSTALL_DIR</action>
+              <action type="make_install" />
               <action type="set_environment">
-                <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
-                <environment_variable name="QT_PATH" action="set_to">$INSTALL_DIR</environment_variable>
+                <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
+                <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
               </action>
             </actions>
         </install>
         <readme>
-            Installing Qt.
-            http://qt-project.org/
+            This package downloads and installs OpenMS.
+            http://open-ms.sourceforge.net/
         </readme>
     </package>
 </tool_dependency>