view tool_dependencies.xml @ 1:f117a9d9dc9c draft

Update the tool_dependencies.xml to use a single <actions> tag set.
author devteam
date Tue, 25 Jun 2013 13:50:00 -0400
parents 9fd501d0f295
children 3569b0e8a8c1
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>
            </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>