view tool_dependencies.xml @ 8:8efa8a337565 draft default tip

tool_dependencies.xml - try download_by_url
author Jim Johnson <jj@umn.edu>
date Thu, 25 Oct 2012 15:49:37 -0500
parents bf047bff79df
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="augustus" version="2.6.1">
        <install version="1.0">
            <actions>
                <!-- the first command puts us in the dir for the package name: "augustus"-->
                <action type="download_by_url">http://bioinf.uni-greifswald.de/augustus/binaries/augustus.2.6.1.tar.gz</action>
                <action type="shell_command">make</action>
                <action type="move_directory_files">
                    <source_directory>bin</source_directory>
                    <destination_directory>$INSTALL_DIR/bin</destination_directory>
                </action>
                <action type="move_directory_files">
                    <source_directory>scripts</source_directory>
                    <destination_directory>$INSTALL_DIR/scripts</destination_directory>
                </action>
                <action type="move_directory_files">
                    <source_directory>config</source_directory>
                    <destination_directory>$INSTALL_DIR/config</destination_directory>
                </action>
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/scripts</environment_variable>
                </action>
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
                <action type="set_environment">
                    <environment_variable name="AUGUSTUS_CONFIG_PATH" action="set_to">$INSTALL_DIR/config</environment_variable>
                </action>
            </actions>
        </install>
        <readme>http://augustus.gobics.de/binaries/README.TXT</readme>
    </package>
</tool_dependency>