view tool_dependencies.xml @ 1:9ff9bfdcd04f draft

Explicit BOOST package dependency
author peterjc
date Mon, 12 Aug 2013 06:02:46 -0400
parents 733eee977fb8
children 0e536576294c
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="boost" version="1.53.0">
        <repository changeset_revision="a72f8efe9201" name="package_boost_1_53" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="blast+" version="2.2.26+">
        <install version="1.0">
            <actions>
                <action type="download_by_url">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-src.tar.gz</action>
                <!-- populate the environment variables from the dependent repos -->
                <action type="set_environment_for_install">
                    <repository changeset_revision="f5b13e56a321" name="package_boost_1_53" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
                        <package name="boost" version="1.53.0" />
                    </repository>
                </action>
                <action type="shell_command">cd c++ &amp;&amp; ./configure --with-boost=$BOOST_ROOT_DIR --prefix=$INSTALL_DIR &amp;&amp; make &amp;&amp; make install</action>
                <action type="set_environment">
                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
Downloads and compiles BLAST+ from the NCBI, which assumes you have
all the required build dependencies installed. See:
http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&amp;PAGE_TYPE=BlastDocs&amp;DOC_TYPE=Download
        </readme>
    </package>
</tool_dependency>