changeset 20:0645ce739dbb draft

Tweak install recipe
author peterjc
date Tue, 13 Oct 2015 11:48:00 -0400
parents 72350dbda97d
children 6a228bdaed13
files tools/clinod/tool_dependencies.xml
diffstat 1 files changed, 7 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/tools/clinod/tool_dependencies.xml	Tue Sep 01 06:53:37 2015 -0400
+++ b/tools/clinod/tool_dependencies.xml	Tue Oct 13 11:48:00 2015 -0400
@@ -3,19 +3,17 @@
     <package name="clinod" version="1.3">
         <install version="1.0">
             <actions>
-                <!-- Set environment variable $CLINOD so wrapper knows where to look -->
-                <action type="set_environment">
-                    <environment_variable name="CLINOD" action="set_to">$INSTALL_DIR</environment_variable>
-                </action>
+                <!-- Main JAR file -->
+                <action type="download_file">http://www.compbio.dundee.ac.uk/nod/downloads/clinod-1.3.jar</action>
+                <action type="move_file"><source>clinod-1.3.jar</source><destination>$INSTALL_DIR/</destination></action>
                 <!-- clinod requires the SNNS Batch Interpreter v1.0 executable -->
                 <action type="shell_command">wget http://www.ra.cs.uni-tuebingen.de/downloads/SNNS/SNNSv4.3.tar.gz</action>
                 <action type="shell_command">tar -zxvf SNNSv4.3.tar.gz</action>
                 <action type="move_file"><source>SNNSv4.3/tools/bin/x86_64-pc-unknown-linux-gnuoldld/batchman</source><destination>$INSTALL_DIR/</destination></action>
-                <!-- clinod itself is just a JAR file -->
-                <action type="shell_command">wget http://www.compbio.dundee.ac.uk/nod/downloads/clinod-1.3.jar</action>
-                <!-- Don't need to move it, $INSTALL_DIR is the current directory
-                <action type="move_file"><source>clinod-1.3.jar</source><destination>$INSTALL_DIR</destination></action>
-                -->
+                <!-- Set environment variable $CLINOD so wrapper knows where to look -->
+		<action type="set_environment">
+                    <environment_variable name="CLINOD" action="set_to">$INSTALL_DIR/</environment_variable>
+                </action>
             </actions>
         </install>
         <readme>