view tool_dependencies.xml @ 4:06b5da1079d8 draft

Revise tool_dependencies.xml to handle augustus.2.6.1 being packaged in current dir
author Jim Johnson <jj@umn.edu>
date Tue, 23 Oct 2012 10:07:28 -0500
parents 75675bc1aafb
children 6d288b228c6d
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="augustus" version="2.6.1">
        <install version="1.0">
            <actions>
                <action type="shell_command">wget http://bioinf.uni-greifswald.de/augustus/binaries/augustus.2.6.1.tar.gz</action>
                <!-- with the first command of with type shell_command a dir will be created with the package name, and we'll operate from there. -->
                <action type="shell_command">tar zxf ../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>