diff tool_dependencies.xml @ 79:76df7d2315bb draft

Uploaded
author zzhou
date Mon, 26 Nov 2012 15:30:55 -0500
parents 5729fb2ba267
children b92b622c1d02
line wrap: on
line diff
--- a/tool_dependencies.xml	Mon Nov 26 15:26:46 2012 -0500
+++ b/tool_dependencies.xml	Mon Nov 26 15:30:55 2012 -0500
@@ -3,4 +3,25 @@
     <set_environment version="1.0">
         <environment_variable name="SCRIPT_PATH" action="set_to">$REPOSITORY_INSTALL_DIR</environment_variable>
     </set_environment>
+    <package name="samtools" version="0.1.12">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">http://sourceforge.net/projects/samtools/files/samtools/0.1.18/samtools-0.1.18.tar.bz2</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>samtools</source>
+                    <destination>$INSTALL_DIR/bin</destination>
+                </action>
+                <action type="move_file">
+                    <source>misc/maq2sam-long</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>Compiling SAMtools requires the ncurses and zlib development libraries.</readme>
+    </package>
 </tool_dependency>