Mercurial > repos > peterjc > package_mira_4_0_2
changeset 3:49974733ab62 draft default tip
Fix accidental removal of XML file
author | peterjc |
---|---|
date | Thu, 02 Feb 2017 11:30:37 -0500 |
parents | a1f4ed4cb301 |
children | |
files | tool_dependencies.xml |
diffstat | 1 files changed, 55 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Thu Feb 02 11:30:37 2017 -0500 @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<tool_dependency> + <package name="MIRA" version="4.0.2"> + <install version="1.0"> + <actions_group> + <!-- Download the binaries for MIRA compatible with 64-bit OSX. --> + <actions architecture="x86_64" os="darwin"> + <action type="download_by_url" sha256sum="3cdfba4be7bde1a97b15259b9fd3216c4369d906ea20f5f360f30dc0d83e7b8e">https://depot.galaxyproject.org/software/mira/mira_4.0.2_darwin_x64.tar.bz2</action> + <action type="move_directory_files"> + <source_directory>bin</source_directory> + <destination_directory>$INSTALL_DIR</destination_directory> + </action> + </actions> + <!-- Download the binaries for MIRA compatible with 64-bit Linux. --> + <actions architecture="x86_64" os="linux"> + <action type="download_by_url" sha256sum="d3c74a6b402192e01d10adb8dbdc3450d4033fa0e7662ce5ce5de4f8c1967813">https://depot.galaxyproject.org/software/mira/mira_4.0.2_linux_x64.tar.bz2</action> + <action type="move_directory_files"> + <source_directory>bin</source_directory> + <destination_directory>$INSTALL_DIR</destination_directory> + </action> + </actions> + <!-- This actions tag is only processed if none of the above tags resulted in a successful installation. --> + <actions> + <action type="shell_command">echo "ERROR: Automated installation on your operating system and CPU architecture combination is not yet supported."</action> + <action type="shell_command">echo "Your machine details (the output from 'uname' and 'arch'):"</action> + <action type="shell_command">uname</action> + <action type="shell_command">arch</action> + <action type="shell_command">echo "If pre-compiled MIRA binaries are now available for this, please report this"</action> + <action type="shell_command">echo "via https://github.com/peterjc/galaxy_mira/issues - thank you!"</action> + <action type="shell_command">false</action> + <!-- The 'false' command will return an error, so Galaxy should treat this as a failed install --> + </actions> + <!-- The $PATH environment variable is only set if one of the above <actions> tags resulted in a successful installation. --> + <action type="set_environment"> + <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR</environment_variable> + </action> + <action type="set_environment"> + <environment_variable action="set_to" name="MIRA4">$INSTALL_DIR</environment_variable> + </action> + </actions_group> + </install> + <readme> +Downloads MIRA v4.0.2 from Sourceforge, requesting Bastien's precompiled binaries +for 64 bit (x86_64) Linux or Mac OS X. Other platforms where compilation from +source would be required (e.g. 32 bit Linux) are not supported by this automated +installation script. + +http://chevreux.org/projects_mira.html +http://sourceforge.net/projects/mira-assembler/ + +The environment variable ``$MIRA4`` will point to the folder containing the binaries, +which is also pre-pended to the``$PATH`` variable. + </readme> + </package> +</tool_dependency>