view tool_dependencies.xml @ 1:571cb77ab9e7 draft

Add citation tag and README file.
author pjbriggs
date Tue, 09 Dec 2014 11:27:19 -0500
parents 496bc4eff47e
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
  <package name="weeder" version="2.0">
    <install version="1.0">
      <actions>
	<action type="download_by_url">http://159.149.160.51/modtools/downloads/weeder2.0.tar.gz</action>
	<action type="shell_command">
	  g++ weeder2.cpp -o weeder2 -O3
	</action>
	<!-- Move weeder2 executable -->
	<action type="move_file">
	  <source>weeder2</source>
	  <destination>$INSTALL_DIR/bin</destination>
	</action>
	<!-- Move data files -->
        <action type="move_directory_files">
          <source_directory>FreqFiles</source_directory>
          <destination_directory>$INSTALL_DIR/FreqFiles</destination_directory>
        </action>
	<!-- Set environment variables -->
	<action type="set_environment">
	  <environment_variable name="WEEDER_DIR" action="set_to">$INSTALL_DIR</environment_variable>
	</action>
	<action type="set_environment">
	  <environment_variable name="WEEDER_FREQFILES_DIR" action="set_to">$INSTALL_DIR/FreqFiles</environment_variable>
        </action>
        <action type="set_environment">
          <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
        </action>
      </actions>
    </install>
    <readme>Installs Weeder 2.0

      See http://159.149.160.51/modtools/downloads/weeder2.html
      and http://159.149.160.51/modtools/
    </readme>
  </package>
</tool_dependency>