view fasttree/tool_dependencies.xml @ 0:b2b9795cc862 draft

Uploaded
author qfab
date Thu, 29 May 2014 23:53:21 -0400
parents
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="FastTree" version="2.17">
        <install version="1.0">
           <actions_group>
       	   <!-- Download the executable for 64-bit OSX. -->
             <actions os="linux" architecture="x86_64">
                <action type="download_by_url">http://www.microbesonline.org/fasttree/FastTree</action>
		<action type="move_file">
                    <source>FastTree</source>
                    <destination>$INSTALL_DIR/fasttree</destination>
                </action>
		<action type="shell_command">chmod ugo+x $INSTALL_DIR/fasttree/FastTree</action>
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/fasttree</environment_variable>
                </action>
              </actions>
              <!-- This actions tag is only processed if tried to install on a none-linux-64-bit system. -->
              <actions>
                <action type="shell_command">echo ERROR: Automated installation on your operating system and CPU architecture combination is not yet supported. This version of FastTree is just intended for Linux 64-bit systems.</action>
              </actions>
            </actions_group>
        </install>
    </package>
</tool_dependency>