0
|
1 <?xml version='1.0' encoding='utf-8'?>
|
|
2 <tool_dependency>
|
|
3 <package name="muscle" version="3.8.31">
|
|
4 <install version="1.0">
|
|
5 <actions_group>
|
|
6 <!-- Download the binaries for MUSCLE compatible with 64-bit OSX. -->
|
|
7 <actions os="darwin" architecture="x86_64">
|
|
8 <action type="download_by_url">http://www.drive5.com/muscle/downloads3.8.31/muscle3.8.31_i86darwin64.tar.gz</action>
|
|
9 <action type="move_file" rename_to="muscle">
|
|
10 <source>../muscle3.8.31_i86darwin64</source>
|
|
11 <destination>$INSTALL_DIR/muscle</destination>
|
|
12 </action>
|
|
13 </actions>
|
|
14 <!-- Download the binaries for MUSCLE compatible with 32-bit OSX. -->
|
|
15 <actions os="darwin" architecture="i386">
|
|
16 <action type="download_by_url">http://www.drive5.com/muscle/downloads3.8.31/muscle3.8.31_i86darwin32.tar.gz</action>
|
|
17 <action type="move_file" rename_to="muscle">
|
|
18 <source>muscle3.8.31_i86darwin32</source>
|
|
19 <destination>$INSTALL_DIR</destination>
|
|
20 </action>
|
|
21 </actions>
|
|
22 <!-- Download the binaries for MUSCLE compatible with 64-bit Linux. -->
|
|
23 <actions os="linux" architecture="x86_64">
|
|
24 <action type="download_by_url">http://www.drive5.com/muscle/downloads3.8.31/muscle3.8.31_i86linux64.tar.gz</action>
|
|
25 <action type="move_file" rename_to="muscle">
|
|
26 <source>muscle3.8.31_i86linux64</source>
|
|
27 <destination>$INSTALL_DIR</destination>
|
|
28 </action>
|
|
29 </actions>
|
|
30 <!-- Download the binaries for MUSCLE compatible with 32-bit Linux. -->
|
|
31 <actions os="linux" architecture="i386">
|
|
32 <action type="download_by_url">http://www.drive5.com/muscle/downloads3.8.31/muscle3.8.31_i86linux32.tar.gz</action>
|
|
33 <action type="move_file" rename_to="muscle">
|
|
34 <source>muscle3.8.31_i86linux32</source>
|
|
35 <destination>$INSTALL_DIR</destination>
|
|
36 </action>
|
|
37 </actions>
|
|
38 <!-- This actions tag is only processed if none of the above tags resulted in a successful installation. -->
|
|
39 <actions>
|
|
40 <action type="download_by_url" target_filename="muscle3.8.31.tar.gz">http://www.drive5.com/muscle/downloads3.8.31/muscle3.8.31_src.tar.gz</action>
|
|
41 <!-- When compiling, need to remove the '-static' linker option from the src/mk file used by src/Makefile -->
|
|
42 <action type="shell_command">sed -i 's/-static//g' src/mk</action>
|
|
43 <action type="shell_command">make -C src/</action>
|
|
44 <action type="move_file">
|
|
45 <source>src/muscle</source>
|
|
46 <destination>$INSTALL_DIR</destination>
|
|
47 </action>
|
|
48 </actions>
|
|
49 <!-- The $PATH environment variable is only set if one of the above <actions> tags resulted in a successful installation. -->
|
|
50 <action type="set_environment">
|
|
51 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
|
|
52 </action>
|
|
53 </actions_group>
|
|
54 </install>
|
|
55 <readme>
|
|
56 Downloads the precompiled 32bit Linux, 64bit Linux, or Mac OS X MUSCLE
|
|
57 binaries, which is faster than performing a local compilation,
|
|
58 avoids any issues with build dependencies, and is more reproducible between
|
|
59 installations as there is no variability from the compiler or library
|
|
60 versions.
|
|
61 If the download attempt fails, compiling MUSCLE from source is attempted.
|
|
62
|
|
63 For more details, see:
|
|
64 http://www.drive5.com/muscle/manual/
|
|
65 </readme>
|
|
66 </package>
|
|
67 </tool_dependency>
|