changeset 3:13837e38aad2

depending on zlib dependency
author nilesh
date Mon, 15 Jul 2013 11:08:48 -0500
parents b04d24abd573
children 4ce18088b3f2
files tool_dependencies.xml
diffstat 1 files changed, 8 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Mon Jul 15 10:47:42 2013 -0500
+++ b/tool_dependencies.xml	Mon Jul 15 11:08:48 2013 -0500
@@ -1,26 +1,18 @@
 <?xml version="1.0"?>
 <tool_dependency>
     <package name="zlib" version="1.2.8">
+        <repository changeset_revision="6d14a9059f07" name="zlib" owner="nilesh" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="sickle" version="1.21.0">
         <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 type="set_environment_for_install">
+                    <repository changeset_revision="6d14a9059f07" name="zlib" owner="nilesh" toolshed="http://testtoolshed.g2.bx.psu.edu">
+                        <package name="zlib" version="1.2.8" />
+                   </repository>
                 </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>
-        <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="shell_command">make LIBS="-L$ZLIB_PATH -lz"</action>
                 <action type="move_file">
                     <source>sickle</source>
                     <destination>$INSTALL_DIR/bin</destination>