diff tool_dependencies.xml @ 1:54855bd8d107 draft default tip

First attempt to get tool_dependencies.xml right.
author cjav
date Wed, 20 Mar 2013 17:07:14 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Wed Mar 20 17:07:14 2013 -0400
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="smalt" version="0.7.3">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">ftp://ftp.sanger.ac.uk/pub4/resources/software/smalt/smalt-0.7.3.tgz</action>
+                <action type="move_file">
+                    <source>smalt_x86_64</source>
+                    <destination>$INSTALL_DIR/bin</destination>
+                </action>
+                <action type="move_file">
+                    <source>smalt_i686</source>
+                    <destination>$INSTALL_DIR/bin</destination>
+                </action>
+                <action type="set_environment">
+                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>
+Upstream authors only provide binaries so far. This tool dependency definition will install both Linux binaries(i686/x86_64) and the wrapper will try to use the right one by using 'smalt_`uname -i`'.
+        </readme>
+    </package>
+</tool_dependency>