changeset 1:b8d51c1a665d

first commit
author nilesh
date Fri, 12 Jul 2013 15:55:41 -0500
parents 16af94a7a1ee
children 9159a1bf8615
files tool_dependencies.xml
diffstat 1 files changed, 40 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Fri Jul 12 15:55:41 2013 -0500
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="zlib" version="1.2.8">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">http://zlib.net/zlib-1.2.8.tar.gz</action>
+                <action type="shell_command">./configure --prefix=$INSTALL_DIR/zlib</action>
+                <action type="shell_command">make</action>
+                <action type="shell_command">make install prefix=$INSTALL_DIR/zlib</action>
+                <action type="set_environment">
+                    <environment_variable name="ZLIB_PATH" action="set_to">$INSTALL_DIR/zlib/lib</environment_variable>
+                </action>
+                <action type="set_environment">
+                    <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/zlib/lib</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>
+        	zlib is designed to be a free, general-purpose, legally unencumbered -- that is, not covered by any patents -- lossless data-compression library for use on virtually any computer hardware and operating system. The zlib data format is itself portable across platforms.
+        </readme>
+    </package>
+    <package name="sickle" version="1.21.0">
+        <install version="1.0">
+            <actions>
+                <action type="shell_command">git clone https://github.com/najoshi/sickle.git</action>
+                <action type="shell_command">make LIBS="-L$ENV[ZLIB_PATH] -lz"</action>
+                <action type="move_file">
+                    <source>sickle</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>
+            Sickle requires a C compiler; GCC or clang are recommended. Sickle relies on Heng Li's kseq.h, which is bundled with the source. It also requires zlib, which is included in this repo.
+        </readme>
+    </package>
+</tool_dependency>