view tool_dependencies.xml @ 2:ce304c51f69b draft default tip

Uploaded
author bgruening
date Fri, 04 Oct 2013 03:17:57 -0400
parents d3b111f922a3
children
line wrap: on
line source

<?xml version='1.0' encoding='utf-8'?>
<tool_dependency>
    <package name="muscle" version="3.8.31">
        <install version="1.0">
            <actions_group>
                <!-- Download the binaries for MUSCLE compatible with 64-bit OSX. -->
                <actions os="darwin" architecture="x86_64">
                    <action type="download_by_url">http://www.drive5.com/muscle/downloads3.8.31/muscle3.8.31_i86darwin64.tar.gz</action>
                    <action type="move_file" rename_to="muscle">
                        <source>../muscle3.8.31_i86darwin64</source>
                        <destination>$INSTALL_DIR/muscle</destination>
                    </action>
                </actions>
                <!-- Download the binaries for MUSCLE compatible with 32-bit OSX. -->
                <actions os="darwin" architecture="i386">
                    <action type="download_by_url">http://www.drive5.com/muscle/downloads3.8.31/muscle3.8.31_i86darwin32.tar.gz</action>
                    <action type="move_file" rename_to="muscle">
                        <source>muscle3.8.31_i86darwin32</source>
                        <destination>$INSTALL_DIR</destination>
                    </action>
                </actions>
                <!-- Download the binaries for MUSCLE compatible with 64-bit Linux. -->
                <actions os="linux" architecture="x86_64">
                    <action type="download_by_url">http://www.drive5.com/muscle/downloads3.8.31/muscle3.8.31_i86linux64.tar.gz</action>
                    <action type="move_file" rename_to="muscle">
                        <source>muscle3.8.31_i86linux64</source>
                        <destination>$INSTALL_DIR</destination>
                    </action>
                </actions>
                <!-- Download the binaries for MUSCLE compatible with 32-bit Linux. -->
                <actions os="linux" architecture="i386">
                    <action type="download_by_url">http://www.drive5.com/muscle/downloads3.8.31/muscle3.8.31_i86linux32.tar.gz</action>
                    <action type="move_file" rename_to="muscle">
                        <source>muscle3.8.31_i86linux32</source>
                        <destination>$INSTALL_DIR</destination>
                    </action>
                </actions>
                <!-- This actions tag is only processed if none of the above tags resulted in a successful installation. -->
                <actions>
                    <action type="download_by_url">http://www.drive5.com/muscle/downloads3.8.31/muscle3.8.31_src.tar.gz</action>
                    <action type="shell_command">ls -l &gt; $INSTALL_DIR/foo.txt</action>
                    <action type="shell_command">ls -l > $INSTALL_DIR/foo.txt</action>
                   <action type="shell_command">make</action>

                    <action type="move_file">
                        <source>muscle</source>
                        <destination>$INSTALL_DIR</destination>
                    </action>
                </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 name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
                </action>
            </actions_group>
        </install>
        <readme>
Downloads the precompiled 32bit Linux, 64bit Linux, or Mac OS X MUSCLE
binaries, which is faster than performing a local compliation,
avoids any issues with build dependencies, and is more reproducible between
installations as there is no variability from the compiler or library 
versions.
If the download attempt fails, compiling MUSCLE from source is attempted.

For more details, see:
http://www.drive5.com/muscle/manual/
        </readme>
    </package>
</tool_dependency>