view tool_dependencies.xml @ 8:6e4e5e8f06fe draft default tip

Uploaded
author p.lucas
date Thu, 02 May 2019 08:04:09 -0400
parents 7db69e81df81
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="mafft" version="7.221">
        <install version="1.0">
            <actions>
                <action type="download_by_url">https://raw.githubusercontent.com/bgruening/download_store/master/MAFFT/mafft-7.221-with-extensions-src.tgz</action>
                <action type="change_directory">./core</action>
                <action type="shell_command">sed -i "s|\(PREFIX = \).*$|\1$INSTALL_DIR|" Makefile</action>
                <action type="shell_command">make clean; make; make install</action>
                <action type="change_directory">../extensions</action>
                <action type="shell_command">sed -i "s|\(PREFIX = \).*$|\1$INSTALL_DIR|" Makefile</action>
                <action type="shell_command">make clean; make; make install</action>
                <action type="set_environment">
                    <environment_variable name="MAFFT_ROOT_PATH" action="set_to">$INSTALL_DIR</environment_variable>
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
        </readme>
    </package>
</tool_dependency>