annotate mothur/tool_dependencies.xml @ 34:1be61ceb20d7

Updated tool_dependencies.xml to build mothur package on Linux (may break other OSes).
author pjbriggs
date Mon, 22 Sep 2014 11:19:09 -0400
parents 49058b1f8d3f
children 95d75b35e4d2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
27
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
1 <?xml version="1.0"?>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
2 <tool_dependency>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
3 <package name="mothur" version="1.27">
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
4 <install version="1.0">
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
5 <actions>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
6 <action type="download_by_url">http://www.mothur.org/w/images/c/cb/Mothur.1.27.0.zip</action>
34
1be61ceb20d7 Updated tool_dependencies.xml to build mothur package on Linux (may break other OSes).
pjbriggs
parents: 27
diff changeset
7 <!-- Update the makefile -->
1be61ceb20d7 Updated tool_dependencies.xml to build mothur package on Linux (may break other OSes).
pjbriggs
parents: 27
diff changeset
8 <action type="shell_command">sed -i 's/^USECOMPRESSION ?= no/USECOMPRESSION ?= yes/' Mothur.source/makefile</action>
1be61ceb20d7 Updated tool_dependencies.xml to build mothur package on Linux (may break other OSes).
pjbriggs
parents: 27
diff changeset
9 <action type="shell_command">sed -i 's/TARGET_ARCH += -arch x86_64/#TARGET_ARCH += -arch x86_64/' Mothur.source/makefile</action>
1be61ceb20d7 Updated tool_dependencies.xml to build mothur package on Linux (may break other OSes).
pjbriggs
parents: 27
diff changeset
10 <action type="shell_command">sed -i 's/#CXXFLAGS +=/CXXFLAGS +=/' Mothur.source/makefile</action>
1be61ceb20d7 Updated tool_dependencies.xml to build mothur package on Linux (may break other OSes).
pjbriggs
parents: 27
diff changeset
11 <!-- Update the uchime_src/mk -->
1be61ceb20d7 Updated tool_dependencies.xml to build mothur package on Linux (may break other OSes).
pjbriggs
parents: 27
diff changeset
12 <action type="shell_command">sed -i 's/LINK_OPTS=-static/LINK_OPTS=/' Mothur.source/uchime_src/mk</action>
27
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
13 <action type="shell_command">chmod u+x Mothur.source/uchime_src/mk</action>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
14 <action type="shell_command">cd Mothur.source &amp;&amp; make</action>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
15 <action type="move_file">
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
16 <source>Mothur.source/mothur</source>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
17 <destination>$INSTALL_DIR/bin</destination>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
18 </action>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
19 <action type="move_file">
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
20 <source>Mothur.source/uchime</source>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
21 <destination>$INSTALL_DIR/bin</destination>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
22 </action>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
23 <action type="set_environment">
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
24 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
25 <environment_variable name="MOTHUR_MAX_PROCESSORS" action="set_to">2</environment_variable>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
26 </action>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
27 </actions>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
28 </install>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
29 <readme>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
30 These links provide information for building the Mothur package in most environments .
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
31
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
32 http://www.mothur.org/wiki/Download_mothur
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
33
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
34 http://www.mothur.org/wiki/Installation
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
35
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
36 http://www.mothur.org/wiki/Makefile_options
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
37
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
38 </readme>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
39 </package>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
40 <!--
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
41 http://supfam.cs.bris.ac.uk/TreeVector/treevectorsource.zip
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
42 -->
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
43 </tool_dependency>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
44