3
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="MIRA" version="4.0.2">
|
|
4 <install version="1.0">
|
|
5 <actions_group>
|
|
6 <!-- Download the binaries for MIRA compatible with 64-bit OSX. -->
|
|
7 <actions architecture="x86_64" os="darwin">
|
|
8 <action type="download_by_url" sha256sum="3cdfba4be7bde1a97b15259b9fd3216c4369d906ea20f5f360f30dc0d83e7b8e">https://depot.galaxyproject.org/software/mira/mira_4.0.2_darwin_x64.tar.bz2</action>
|
|
9 <action type="move_directory_files">
|
|
10 <source_directory>bin</source_directory>
|
|
11 <destination_directory>$INSTALL_DIR</destination_directory>
|
|
12 </action>
|
|
13 </actions>
|
|
14 <!-- Download the binaries for MIRA compatible with 64-bit Linux. -->
|
|
15 <actions architecture="x86_64" os="linux">
|
|
16 <action type="download_by_url" sha256sum="d3c74a6b402192e01d10adb8dbdc3450d4033fa0e7662ce5ce5de4f8c1967813">https://depot.galaxyproject.org/software/mira/mira_4.0.2_linux_x64.tar.bz2</action>
|
|
17 <action type="move_directory_files">
|
|
18 <source_directory>bin</source_directory>
|
|
19 <destination_directory>$INSTALL_DIR</destination_directory>
|
|
20 </action>
|
|
21 </actions>
|
|
22 <!-- This actions tag is only processed if none of the above tags resulted in a successful installation. -->
|
|
23 <actions>
|
|
24 <action type="shell_command">echo "ERROR: Automated installation on your operating system and CPU architecture combination is not yet supported."</action>
|
|
25 <action type="shell_command">echo "Your machine details (the output from 'uname' and 'arch'):"</action>
|
|
26 <action type="shell_command">uname</action>
|
|
27 <action type="shell_command">arch</action>
|
|
28 <action type="shell_command">echo "If pre-compiled MIRA binaries are now available for this, please report this"</action>
|
|
29 <action type="shell_command">echo "via https://github.com/peterjc/galaxy_mira/issues - thank you!"</action>
|
|
30 <action type="shell_command">false</action>
|
|
31 <!-- The 'false' command will return an error, so Galaxy should treat this as a failed install -->
|
|
32 </actions>
|
|
33 <!-- The $PATH environment variable is only set if one of the above <actions> tags resulted in a successful installation. -->
|
|
34 <action type="set_environment">
|
|
35 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR</environment_variable>
|
|
36 </action>
|
|
37 <action type="set_environment">
|
|
38 <environment_variable action="set_to" name="MIRA4">$INSTALL_DIR</environment_variable>
|
|
39 </action>
|
|
40 </actions_group>
|
|
41 </install>
|
|
42 <readme>
|
|
43 Downloads MIRA v4.0.2 from Sourceforge, requesting Bastien's precompiled binaries
|
|
44 for 64 bit (x86_64) Linux or Mac OS X. Other platforms where compilation from
|
|
45 source would be required (e.g. 32 bit Linux) are not supported by this automated
|
|
46 installation script.
|
|
47
|
|
48 http://chevreux.org/projects_mira.html
|
|
49 http://sourceforge.net/projects/mira-assembler/
|
|
50
|
|
51 The environment variable ``$MIRA4`` will point to the folder containing the binaries,
|
|
52 which is also pre-pended to the``$PATH`` variable.
|
|
53 </readme>
|
|
54 </package>
|
|
55 </tool_dependency>
|