diff mothur/tool_dependencies.xml @ 4:a9d51d14f9e9 draft

Add tool_dependencies
author Jim Johnson <jj@umn.edu>
date Wed, 05 Sep 2012 21:28:43 -0500
parents
children 3cfe41810949
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mothur/tool_dependencies.xml	Wed Sep 05 21:28:43 2012 -0500
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="mothur" version="1.24.0">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">http://www.mothur.org/w/images/0/09/Mothur.1.24.1.zip</action>
+                <action type="shell_command">cd Mothur.source</action>
+                <action type="shell_command">sed -i .bak -e 's/-lcurses/-lncurses/g' Makefile</action>
+                <action type="shell_command">make</action>
+                <action type="move_file">
+                    <source>mothur</source>
+                    <destination>$INSTALL_DIR/bin</destination>
+                </action>
+                <action type="move_file">
+                    <source>uchime</source>
+                    <destination>$INSTALL_DIR/bin</destination>
+                </action>
+                <action type="set_environment">
+                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>
+These links provide information for building the Mothur package in most environments .
+
+http://www.mothur.org/wiki/Download_mothur
+
+http://www.mothur.org/wiki/Installation
+
+http://www.mothur.org/wiki/Makefile_options
+
+        </readme>
+    </package>
+</tool_dependency>
+