view tool_dependencies.xml @ 0:bd565e1e3c5f draft

Uploaded
author crs4
date Fri, 11 Apr 2014 12:48:59 -0400
parents
children 09552faff9c0
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
  <package name="kronatools" version="2.4">
    <install version="1.0">
      <actions>
        <action type="download_by_url">http://downloads.sourceforge.net/project/krona/KronaTools%20%28Mac%2C%20Linux%29/KronaTools-2.4.tar</action>
        <action type="move_directory_files">
          <source_directory>.</source_directory>
          <destination_directory>$INSTALL_DIR</destination_directory>
        </action>
        <!-- ./install.pl must be run inside $INSTALL_DIR . Moreover "change_directory" action does not work because $INSTALL_DIR is outside the defined working directory -->
        <action type="shell_command">cd $INSTALL_DIR &amp;&amp; ./install.pl --prefix=$INSTALL_DIR</action>
        <action type="set_environment">
          <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
        </action>
      </actions>
    </install>
  </package>
</tool_dependency>