1
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
2
|
3 <package name="zlib" version="1.2.8">
|
1
|
4 <install version="1.0">
|
|
5 <actions>
|
|
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>
|
|
8 <action type="shell_command">make</action>
|
|
9 <action type="shell_command">make install prefix=$INSTALL_DIR/zlib</action>
|
|
10 <action type="set_environment">
|
|
11 <environment_variable name="ZLIB_PATH" action="set_to">$INSTALL_DIR/zlib/lib</environment_variable>
|
|
12 </action>
|
2
|
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>
|
1
|
22 <action type="shell_command">git clone https://github.com/najoshi/sickle.git</action>
|
2
|
23 <action type="shell_command">make LIBS="-L$ENV[ZLIB_PATH] -lz"</action>
|
1
|
24 <action type="move_file">
|
|
25 <source>sickle</source>
|
|
26 <destination>$INSTALL_DIR/bin</destination>
|
|
27 </action>
|
|
28 <action type="set_environment">
|
|
29 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
|
|
30 </action>
|
|
31 </actions>
|
|
32 </install>
|
|
33 <readme>
|
|
34 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.
|
|
35 </readme>
|
|
36 </package>
|
|
37 </tool_dependency>
|