view tool_dependencies.xml @ 1:74391fc6e3f2 draft

Add package requirement
author Jim Johnson <jj@umn.edu>
date Fri, 05 Oct 2012 13:08:43 -0500
parents 10e3476429b5
children f6ba0f12cca2
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="gmap" version="2011-11-30">
        <install version="1.0">
            <actions>
                <action type="shell_command">wget http://research-pub.gene.com/gmap/src/gmap-gsnap-2011-11-30.tar.gz</action>
                <action type="shell_command"> ./configure --prefix=bin --with-gmapdb=../gmapdb</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="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
        </readme>
    </package>
</tool_dependency>