diff 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 diff
--- a/tool_dependencies.xml	Wed Aug 07 11:34:47 2013 -0400
+++ b/tool_dependencies.xml	Mon Aug 12 06:02:46 2013 -0400
@@ -1,12 +1,21 @@
 <?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>
-                <action type="shell_command">cd c++ &amp;&amp; ./configure --prefix=$INSTALL_DIR &amp;&amp; make &amp;&amp; make install</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 name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
+                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                 </action>
             </actions>
         </install>
@@ -17,4 +26,3 @@
         </readme>
     </package>
 </tool_dependency>
-