view tool_dependencies.xml @ 0:25be7ee8d4b6 draft default tip

planemo upload commit 2c71c5e5604b9c05648b883fddbb163a8e03c807
author tiagoantao
date Tue, 03 Nov 2015 16:26:44 -0500
parents
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
  <package name="raxml" version="8.2.4">
    <install version="1.0">
      <actions>
        <!-- Download source code -->
        <action type="download_by_url" target_filename="standard-RAxML-8.2.4.tar.gz">https://github.com/stamatak/standard-RAxML/archive/v8.2.4.tar.gz</action>

        <!-- Build raxml -->
        <action type="shell_command">make -f Makefile.PTHREADS.gcc</action>

        <!-- Install raxml -->
        <action type="shell_command">mkdir -p $INSTALL_DIR/bin</action>
        <action type="shell_command">cp raxmlHPC-PTHREADS $INSTALL_DIR/bin</action>

        <!-- Set environment for dependent repositories -->
        <action type="set_environment">
          <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
        </action>
      </actions>
    </install>
  </package>
</tool_dependency>