changeset 0:0e3a2624a036 draft default tip

Uploaded
author rico
date Thu, 19 Sep 2013 16:25:52 -0400
parents
children
files tool_dependencies.xml
diffstat 1 files changed, 35 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Thu Sep 19 16:25:52 2013 -0400
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+<tool_dependency>
+  <package name="clapack" version="3.2.1">
+    <repository prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu/" owner="rico" name="package_clapack_3_2_1" changeset_revision="56a949e5f998" />
+  </package>
+
+  <package name="phast" version="1.3">
+    <install version="1.0">
+      <actions>
+        <!-- Download source code -->
+        <action type="download_by_url" target_filename="phast-1.3.tar.gz">http://compgen.bscb.cornell.edu/phast/downloads/phast.v1_3.tgz</action>
+
+        <!-- Get CLAPACKPATH from clapack package -->
+        <action type="set_environment_for_install">
+          <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" owner="rico" name="package_clapack_3_2_1" changeset_revision="56a949e5f998">
+            <package name="clapack" version="3.2.1" />
+          </repository>
+        </action>
+
+        <!-- Build phast -->
+        <action type="change_directory">src</action>
+        <action type="shell_command">make</action>
+        <action type="change_directory">..</action>
+
+        <!-- Install phast -->
+        <action type="shell_command">cp -R bin $INSTALL_DIR</action>
+
+        <!-- Set environment for dependent repositories -->
+        <action type="set_environment">
+          <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
+        </action>
+      </actions>
+    </install>
+  </package>
+</tool_dependency>