1
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="mafft" version="7.221">
|
|
4 <install version="1.0">
|
|
5 <actions>
|
|
6 <action type="download_by_url">https://raw.githubusercontent.com/bgruening/download_store/master/MAFFT/mafft-7.221-with-extensions-src.tgz</action>
|
|
7 <action type="change_directory">./core</action>
|
|
8 <action type="shell_command">sed -i "s|\(PREFIX = \).*$|\1$INSTALL_DIR|" Makefile</action>
|
|
9 <action type="shell_command">make clean; make; make install</action>
|
|
10 <action type="change_directory">../extensions</action>
|
|
11 <action type="shell_command">sed -i "s|\(PREFIX = \).*$|\1$INSTALL_DIR|" Makefile</action>
|
|
12 <action type="shell_command">make clean; make; make install</action>
|
|
13 <action type="set_environment">
|
|
14 <environment_variable name="MAFFT_ROOT_PATH" action="set_to">$INSTALL_DIR</environment_variable>
|
|
15 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
|
|
16 </action>
|
|
17 </actions>
|
|
18 </install>
|
|
19 <readme>
|
|
20 </readme>
|
|
21 </package>
|
|
22 </tool_dependency>
|