view tool_dependencies.xml @ 2:3569b0e8a8c1 draft

Uploaded tool dependency definition that explicitly prepends $INSTALL_DIR/bin to the $PATH environment variable.
author devteam
date Tue, 25 Jun 2013 15:36:12 -0400
parents f117a9d9dc9c
children 0e97d4936c23
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="libx11" version="1.5.0">
        <repository changeset_revision="90c1cbb8095a" name="package_x11_client_1_5_proto_7_0" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="emboss" version="5.0.0">
        <install version="1.0">
            <actions>
                <action type="download_by_url">ftp://emboss.open-bio.org/pub/EMBOSS/old/5.0.0/EMBOSS-5.0.0.tar.gz</action>
                <action type="set_environment_for_install">
                    <repository changeset_revision="90c1cbb8095a" name="package_x11_client_1_5_proto_7_0" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu">
                        <package name="libx11" version="1.5.0" />
                    </repository>
                </action>
                <action type="shell_command">
                    if [ -z $X11_LIB_DIR ]  [ -z $X11_INCLUDE_DIR ]; then
                        ./configure --prefix=$INSTALL_DIR
                    else
                        ./configure --prefix=$INSTALL_DIR --x-includes=$X11_INCLUDE_DIR --x-libraries=$X11_LIB_DIR
                    fi
                </action>
                <action type="shell_command">make &amp;&amp; make install</action>
                <action type="download_file" extract="true">ftp://emboss.open-bio.org/pub/EMBOSS/old/5.0.0/PHYLIP-3.6b.tar.gz</action>
                <action type="change_directory">PHYLIP-3.6b</action>
                <action type="shell_command">
                    if [ -z $X11_LIB_DIR ]  [ -z $X11_INCLUDE_DIR ]; then
                        ./configure --prefix=$INSTALL_DIR
                    else
                        ./configure --prefix=$INSTALL_DIR --x-includes=$X11_INCLUDE_DIR --x-libraries=$X11_LIB_DIR CFLAGS='-I../include'
                    fi
                </action>
                <action type="shell_command">make &amp;&amp; make install</action>
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
These links provide information for building the Emboss package in most environments.

System requirements
http://emboss.sourceforge.net/download/#Requirements

Platform-dependent notes
http://emboss.sourceforge.net/download/#Platforms
        </readme>
    </package>
</tool_dependency>