diff tool_dependencies.xml @ 0:021710bed779 draft

initial uploaded
author bgruening
date Tue, 12 Nov 2013 10:11:19 -0500
parents
children dba0743fae3d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Tue Nov 12 10:11:19 2013 -0500
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="libtool" version="2.4">
+        <repository changeset_revision="7f67694b167c" name="package_libtool_2_4" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="Qt" version="4.8">
+        <repository changeset_revision="efd2620ae8bd" name="package_qt_4_8" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="OpenMS" version="1.10.0">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">http://downloads.sourceforge.net/project/open-ms/OpenMS/OpenMS-1.11/OpenMS-1.11.0.tar.gz</action>
+
+                <!-- populate the environment variables from the dependend repos -->
+                <action type="set_environment_for_install">
+                    <repository changeset_revision="7f67694b167c" name="package_libtool_2_4" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
+                        <package name="libtool" version="2.4" />
+                    </repository>
+                    <repository changeset_revision="efd2620ae8bd" name="package_qt_4_8" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
+                        <package name="Qt" version="4.8 " />
+                    </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="shell_command">make doc_minimal</action>
+                <action type="shell_command">make install</action>
+                <action type="set_environment">
+                    <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>
+                    <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$ENV[QT_ROOT_DIR]/lib/</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>
+            This package downloads and installs OpenMS.
+            http://open-ms.sourceforge.net/
+        </readme>
+    </package>
+</tool_dependency>