diff tool_dependencies.xml @ 3:51288d868a5c draft

tool_dependencies.xml
author Jim Johnson <jj@umn.edu>
date Wed, 10 Oct 2012 08:33:33 -0500
parents d90db1d506c4
children
line wrap: on
line diff
--- a/tool_dependencies.xml	Tue Oct 09 20:54:18 2012 -0500
+++ b/tool_dependencies.xml	Wed Oct 10 08:33:33 2012 -0500
@@ -1,15 +1,20 @@
 <?xml version="1.0"?>
 <tool_dependency>
-    <set_environment version="1.0">
-        <environment_variable name="METAPHLAN_BASE" action="set_to">$REPOSITORY_INSTALL_DIR</environment_variable>
-    </set_environment>
     <package name="metaphlan" version="1.7.0">
         <install version="1.0">
             <actions>
                 <action type="shell_command">hg clone http://bitbucket.org/nsegata/metaphlan</action>
+                <action type="move_directory_files">
+                    <source_directory>.</source_directory>
+                    <destination_directory>$INSTALL_DIR</destination_directory>
+                </action>
                 <action type="set_environment">
                     <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
                 </action>
+                <action type="set_environment">
+                    <environment_variable name="METAPHLAN_PATH" action="set_to">$INSTALL_DIR</environment_variable>
+                </action>
+
             </actions>
         </install>
         <readme>