changeset 17:4851936124a9 draft

planemo upload commit 5ef22a008867c6bf100dbe37b9006f565a828bb5
author yating-l
date Fri, 22 Jul 2016 11:24:48 -0400
parents 0e53fc7c15e7
children 1debdbe657cd
files tool_dependencies.xml
diffstat 1 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Fri Jul 22 11:05:32 2016 -0400
+++ b/tool_dependencies.xml	Fri Jul 22 11:24:48 2016 -0400
@@ -5,13 +5,18 @@
             <actions_group>
                 <actions>
                     <action type="download_by_url">http://korflab.ucdavis.edu/Software/snap-2013-11-29.tar.gz</action>
-                    <action type="shell_command">tar -xvzf snap-2013-11-29.tar</action>
-                    <action type="shell_command">rm -rf snap-2013-11-29.tar.gz</action>
-                    <action type="change_directory">$INSTALL_DIR/snap</action>
                     <action type="shell_command">make</action>
+                    <action type="move_directory_files">
+                        <source_directory>snap</source_directory>
+                        <destination_directory>$INSTALL_DIR/bin</destination_directory>
+                    </action>
+                    <action type="move_directory_files">
+                        <source_directory>.</source_directory>
+                        <destination_directory>$INSTALL_DIR/lib</destination_directory>
+                    </action>
                     <action type="set_environment">
-                        <environment_variable name="ZOE" action="set_to">$INSTALL_DIR/snap</environment_variable>
-                        <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/snap</environment_variable>
+                        <environment_variable name="ZOE" action="set_to">$INSTALL_DIR/lib</environment_variable>
+                        <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                     </action>
                 </actions>
             </actions_group>