view tool_dependencies.xml @ 1:b61f1466ce8f default tip

Add tool_dependencies.xml and test case
author Jim Johnson <jj@umn.edu>
date Mon, 01 Apr 2013 10:28:17 -0500
parents
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="ea-utils" version="1.1.2-484">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://ea-utils.googlecode.com/files/ea-utils.1.1.2-484.tar.gz</action>
                <!-- Unable to get varcall to compile properly we don't need it, so skip -->
                <action type="shell_command">sed -i.bak 's/varcall$//' Makefile</action>
                <action type="shell_command">PREFIX=$INSTALL_DIR make install</action>
                <!-- For some reason, this is not installed by the Makefile, so move it ourselves -->
                <action type="move_file">
                    <source>sam-stats</source>
                    <destination>$INSTALL_DIR/bin</destination>
                </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>