Mercurial > repos > nilesh > sickle_dev
comparison tool_dependencies.xml @ 2:b04d24abd573
separated into two dependencies
| author | nilesh |
|---|---|
| date | Mon, 15 Jul 2013 10:47:42 -0500 |
| parents | db0c767dbe09 |
| children | 13837e38aad2 |
comparison
equal
deleted
inserted
replaced
| 1:db0c767dbe09 | 2:b04d24abd573 |
|---|---|
| 1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
| 2 <tool_dependency> | 2 <tool_dependency> |
| 3 <package name="sickle" version="1.21.0"> | 3 <package name="zlib" version="1.2.8"> |
| 4 <install version="1.0"> | 4 <install version="1.0"> |
| 5 <actions> | 5 <actions> |
| 6 <action type="download_by_url">http://zlib.net/zlib-1.2.8.tar.gz</action> | 6 <action type="download_by_url">http://zlib.net/zlib-1.2.8.tar.gz</action> |
| 7 <action type="shell_command">./configure --prefix=$INSTALL_DIR/zlib</action> | 7 <action type="shell_command">./configure --prefix=$INSTALL_DIR/zlib</action> |
| 8 <action type="shell_command">make</action> | 8 <action type="shell_command">make</action> |
| 9 <action type="shell_command">make install prefix=$INSTALL_DIR/zlib</action> | 9 <action type="shell_command">make install prefix=$INSTALL_DIR/zlib</action> |
| 10 <action type="set_environment"> | 10 <action type="set_environment"> |
| 11 <environment_variable name="ZLIB_PATH" action="set_to">$INSTALL_DIR/zlib/lib</environment_variable> | 11 <environment_variable name="ZLIB_PATH" action="set_to">$INSTALL_DIR/zlib/lib</environment_variable> |
| 12 </action> | 12 </action> |
| 13 </actions> | |
| 14 </install> | |
| 15 <readme> | |
| 16 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. | |
| 17 </readme> | |
| 18 </package> | |
| 19 <package name="sickle" version="1.21.0"> | |
| 20 <install version="1.0"> | |
| 21 <actions> | |
| 13 <action type="shell_command">git clone https://github.com/najoshi/sickle.git</action> | 22 <action type="shell_command">git clone https://github.com/najoshi/sickle.git</action> |
| 14 <action type="shell_command">make LIBS="-L$INSTALL_DIR/zlib/lib -lz"</action> | 23 <action type="shell_command">make LIBS="-L$ENV[ZLIB_PATH] -lz"</action> |
| 15 <action type="move_file"> | 24 <action type="move_file"> |
| 16 <source>sickle</source> | 25 <source>sickle</source> |
| 17 <destination>$INSTALL_DIR/bin</destination> | 26 <destination>$INSTALL_DIR/bin</destination> |
| 18 </action> | 27 </action> |
| 19 <action type="set_environment"> | 28 <action type="set_environment"> |
