view tool_dependencies.xml @ 0:34be595fd2a9 draft default tip

planemo upload commit 174be06d7c7e7789df16ea5d5068f20b21257a2f
author iuc
date Mon, 14 Nov 2016 14:03:20 -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" sha256sum="e9fa4b3fe790094d832a640edc2b448890237dca0012d509d95be4cd4ef3d83b" 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>
        <action type="shell_command">make -f Makefile.gcc</action>
        <!-- Install raxml -->
        <action type="move_file">
            <source>raxmlHPC-PTHREADS</source>
            <destination>$INSTALL_DIR/bin</destination>
        </action>
        <action type="move_file">
            <source>raxmlHPC</source>
            <destination>$INSTALL_DIR/bin</destination>
        </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>