0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="FastTree" version="2.17">
|
|
4 <install version="1.0">
|
|
5 <actions_group>
|
|
6 <!-- Download the executable for 64-bit OSX. -->
|
|
7 <actions os="linux" architecture="x86_64">
|
|
8 <action type="download_by_url">http://www.microbesonline.org/fasttree/FastTree</action>
|
|
9 <action type="move_file">
|
|
10 <source>FastTree</source>
|
|
11 <destination>$INSTALL_DIR/fasttree</destination>
|
|
12 </action>
|
|
13 <action type="shell_command">chmod ugo+x $INSTALL_DIR/fasttree/FastTree</action>
|
|
14 <action type="set_environment">
|
|
15 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/fasttree</environment_variable>
|
|
16 </action>
|
|
17 </actions>
|
|
18 <!-- This actions tag is only processed if tried to install on a none-linux-64-bit system. -->
|
|
19 <actions>
|
|
20 <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>
|
|
21 </actions>
|
|
22 </actions_group>
|
|
23 </install>
|
|
24 </package>
|
|
25 </tool_dependency>
|