4
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="MIRA" version="3.4.1.1">
|
|
4 <install version="1.0">
|
|
5 <actions_group>
|
|
6 <!-- Download the binaries for MIRA compatible with 64-bit Linux. -->
|
|
7 <actions architecture="x86_64" os="linux">
|
|
8 <!-- http://downloads.sourceforge.net/project/mira-assembler/MIRA/Older%20releases/V3.4.0/mira_3.4.1.1_prod_linux-gnu_x86_64_static.tar.bz2 -->
|
|
9 <action type="download_by_url" sha256sum="8843c3efc72f0ca8c7e681f9d81748604127b1d9c01d0234a5e8b3a55b798d5c">https://depot.galaxyproject.org/software/mira/mira_3.4.1.1_linux_x64.tar.bz2</action>
|
|
10 <action type="move_directory_files">
|
|
11 <source_directory>bin</source_directory>
|
|
12 <destination_directory>$INSTALL_DIR</destination_directory>
|
|
13 </action>
|
|
14 </actions>
|
|
15 <!-- This actions tag is only processed if none of the above tags resulted in a successful installation. -->
|
|
16 <actions>
|
|
17 <action type="shell_command">echo "ERROR: Automated installation on your operating system and CPU architecture combination is not yet supported."</action>
|
|
18 <action type="shell_command">echo "Your machine details (the output from 'uname' and 'arch'):"</action>
|
|
19 <action type="shell_command">uname</action>
|
|
20 <action type="shell_command">arch</action>
|
|
21 <action type="shell_command">echo "If pre-compiled MIRA binaries are now available for this, please report this"</action>
|
|
22 <action type="shell_command">echo "via https://github.com/peterjc/galaxy_mira/issues - thank you!"</action>
|
|
23 <action type="shell_command">false</action>
|
|
24 <!-- The 'false' command will return an error, so Galaxy should treat this as a failed install -->
|
|
25 </actions>
|
|
26 <!-- The $PATH environment variable is only set if one of the above <actions> tags resulted in a successful installation. -->
|
|
27 <action type="set_environment">
|
|
28 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR</environment_variable>
|
|
29 </action>
|
|
30 <action type="set_environment">
|
|
31 <environment_variable action="set_to" name="MIRA3">$INSTALL_DIR</environment_variable>
|
|
32 </action>
|
|
33 </actions_group>
|
|
34 </install>
|
|
35 <readme>
|
|
36 Downloads MIRA v3.4.1.1 from Sourceforge, requesting Bastien's precompiled binaries
|
|
37 for 64bit Linux (x86_64). He also has binaries for 32bit Linux (686 only), which we
|
|
38 could use once the Galaxy installation framework allow that kind of flexibility.
|
|
39
|
|
40 http://chevreux.org/projects_mira.html
|
|
41 http://sourceforge.net/projects/mira-assembler/
|
|
42
|
|
43 The environment variable ``$MIRA3`` will point to the folder containing the binaries,
|
|
44 which is also pre-pended to the ``$PATH`` variable.
|
|
45 </readme>
|
|
46 </package>
|
|
47 </tool_dependency>
|
|
48
|