diff tool_dependencies.xml @ 0:496bc4eff47e draft

Initial version.
author pjbriggs
date Wed, 19 Nov 2014 07:56:27 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Wed Nov 19 07:56:27 2014 -0500
@@ -0,0 +1,39 @@
+<?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>
+