comparison tool_dependencies.xml @ 3:4eaac2545faa draft default tip

MIRA 4.9.5 not on sourceforge anymore
author peterjc
date Mon, 08 Aug 2016 13:02:16 -0400
parents edb0eb8d8921
children
comparison
equal deleted inserted replaced
2:edb0eb8d8921 3:4eaac2545faa
2 <tool_dependency> 2 <tool_dependency>
3 <package name="MIRA" version="4.9.5"> 3 <package name="MIRA" version="4.9.5">
4 <install version="1.0"> 4 <install version="1.0">
5 <actions_group> 5 <actions_group>
6 <!-- Download the binaries for MIRA compatible with 64-bit OSX. --> 6 <!-- Download the binaries for MIRA compatible with 64-bit OSX. -->
7 <!-- Currently unavailable...
7 <actions architecture="x86_64" os="darwin"> 8 <actions architecture="x86_64" os="darwin">
8 <action type="download_by_url">http://downloads.sourceforge.net/project/mira-assembler/MIRA/development/mira_4.9.5_2_darwin14.3.0_x86_64_static.tar.bz2</action> 9 <action type="download_by_url">http://downloads.sourceforge.net/project/mira-assembler/MIRA/development/mira_4.9.5_2_darwin14.3.0_x86_64_static.tar.bz2</action>
9 <action type="move_directory_files"> 10 <action type="move_directory_files">
10 <source_directory>bin</source_directory> 11 <source_directory>bin</source_directory>
11 <destination_directory>$INSTALL_DIR</destination_directory> 12 <destination_directory>$INSTALL_DIR</destination_directory>
12 </action> 13 </action>
13 </actions> 14 </actions>
15 -->
14 <!-- Download the binaries for MIRA compatible with 64-bit Linux. --> 16 <!-- Download the binaries for MIRA compatible with 64-bit Linux. -->
15 <actions architecture="x86_64" os="linux"> 17 <actions architecture="x86_64" os="linux">
16 <action type="download_by_url">http://downloads.sourceforge.net/project/mira-assembler/MIRA/development/mira_4.9.5_2_linux-gnu_x86_64_static.tar.bz2</action> 18 <action type="download_by_url" sha256sum="3848885cb041cd9bf7aa8f220dd3f084443f5060fa433b669f7d28880ba4c61f">https://depot.galaxyproject.org/software/mira/mira_4.9.5_linux_x64.tar.bz2</action>
17 <action type="move_directory_files"> 19 <action type="move_directory_files">
18 <source_directory>bin</source_directory> 20 <source_directory>bin</source_directory>
19 <destination_directory>$INSTALL_DIR</destination_directory> 21 <destination_directory>$INSTALL_DIR</destination_directory>
20 </action> 22 </action>
21 </actions> 23 </actions>
24 <action type="shell_command">echo "ERROR: Automated installation on your operating system and CPU architecture combination is not yet supported."</action> 26 <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> 27 <action type="shell_command">echo "Your machine details (the output from 'uname' and 'arch'):"</action>
26 <action type="shell_command">uname</action> 28 <action type="shell_command">uname</action>
27 <action type="shell_command">arch</action> 29 <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> 30 <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/pico_galaxy/issues - thank you!"</action> 31 <action type="shell_command">echo "via https://github.com/peterjc/galaxy_mira/issues - thank you!"</action>
30 <action type="shell_command">false</action> 32 <action type="shell_command">false</action>
31 <!-- The 'false' command will return an error, so Galaxy should treat this as a failed install --> 33 <!-- The 'false' command will return an error, so Galaxy should treat this as a failed install -->
32 </actions> 34 </actions>
33 <!-- The $PATH environment variable is only set if one of the above <actions> tags resulted in a successful installation. --> 35 <!-- The $PATH environment variable is only set if one of the above <actions> tags resulted in a successful installation. -->
34 <action type="set_environment"> 36 <action type="set_environment">
35 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR</environment_variable> 37 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR</environment_variable>
36 </action> 38 </action>
37 <!-- Wrapper requires trailing slash on $MIRA4_9 so make sure there is one (double trailing slash is harmless) --> 39 <!-- Note we append a trailing slash as currently expected by the wrapper XML file -->
38 <action type="set_environment"> 40 <action type="set_environment">
39 <environment_variable action="set_to" name="MIRA4_9">$INSTALL_DIR/</environment_variable> 41 <environment_variable action="set_to" name="MIRA4_9">$INSTALL_DIR/</environment_variable>
40 </action> 42 </action>
41 </actions_group> 43 </actions_group>
42 </install> 44 </install>
43 <readme> 45 <readme>
44 Downloads MIRA v4.9.5 from Sourceforge, requesting Bastien's precompiled binaries 46 Downloads MIRA v4.9.5 from Sourceforge, requesting Bastien's precompiled binaries
45 for 64 bit (x86_64) Linux or Mac OS X. Other platforms where compilation from 47 for 64 bit (x86_64) Linux. Currently the Mac OS X binaries are not available.
46 source would be required (e.g. 32 bit Linux) are not supported by this automated 48
47 installation script. 49 Other platforms where compilation from source would be required (e.g. 32 bit Linux)
50 are not supported by this automated installation script.
48 51
49 http://chevreux.org/projects_mira.html 52 http://chevreux.org/projects_mira.html
50 http://sourceforge.net/projects/mira-assembler/ 53 http://sourceforge.net/projects/mira-assembler/
51 54
52 The environment variable ``$MIRA4_9`` will point to the folder containing the 55 The environment variable ``$MIRA4_9`` will point to the folder containing the
53 binaries, which is also pre-pended to the``$PATH`` variable. 56 binaries (with a trailing slash), and this is also pre-pended to the``$PATH``
57 variable.
54 </readme> 58 </readme>
55 </package> 59 </package>
56 </tool_dependency> 60 </tool_dependency>