|
8
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
|
3 <package name="samtools" version="0.1.18">
|
|
|
4 <install version="1.0">
|
|
|
5 <actions>
|
|
|
6 <action type="download_by_url">http://sourceforge.net/projects/samtools/files/samtools/0.1.18/samtools-0.1.18.tar.bz2</action>
|
|
|
7 <action type="shell_command">sed -i .bak -e 's/-lcurses/-lncurses/g' Makefile</action>
|
|
|
8 <action type="shell_command">make</action>
|
|
|
9 <action type="move_file">
|
|
|
10 <source>samtools</source>
|
|
|
11 <destination>$INSTALL_DIR/bin</destination>
|
|
|
12 </action>
|
|
|
13 <action type="move_file">
|
|
|
14 <source>misc/maq2sam-long</source>
|
|
|
15 <destination>$INSTALL_DIR/bin</destination>
|
|
|
16 </action>
|
|
|
17 <action type="set_environment">
|
|
|
18 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
|
|
|
19 </action>
|
|
|
20 </actions>
|
|
|
21 </install>
|
|
|
22 <readme>Compiling SAMtools requires the ncurses and zlib development libraries.</readme>
|
|
|
23 </package>
|
|
|
24 </tool_dependency>
|