Mercurial > repos > nilesh > sickle
comparison tool_dependencies.xml @ 6:c6a790326d1e
moved from test
author | nilesh |
---|---|
date | Mon, 15 Jul 2013 12:12:41 -0500 |
parents | 4f6349319c0a |
children |
comparison
equal
deleted
inserted
replaced
5:4f6349319c0a | 6:c6a790326d1e |
---|---|
1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
2 <tool_dependency> | 2 <tool_dependency> |
3 <package name="zlib" version="1.2.8"> | 3 <package name="sickle" version="1.21.0"> |
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"> | |
11 <environment_variable name="ZLIB_PATH" action="set_to">$INSTALL_DIR/zlib/lib</environment_variable> | |
12 </action> | |
13 <action type="set_environment"> | |
14 <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/zlib/lib</environment_variable> | |
15 </action> | |
16 </actions> | |
17 </install> | |
18 <readme> | |
19 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. | |
20 </readme> | |
21 </package> | |
22 <package name="sickle" version="1.21.0"> | |
23 <install version="1.0"> | |
24 <actions> | |
25 <action type="shell_command">git clone https://github.com/najoshi/sickle.git</action> | 10 <action type="shell_command">git clone https://github.com/najoshi/sickle.git</action> |
26 <action type="shell_command">make LIBS="-L$ENV[ZLIB_PATH] -lz"</action> | 11 <action type="shell_command">cd ./sickle && make LIBS="-L$INSTALL_DIR/zlib/lib -lz"</action> |
27 <action type="move_file"> | 12 <action type="move_file"> |
28 <source>sickle</source> | 13 <source>sickle/sickle</source> |
29 <destination>$INSTALL_DIR/bin</destination> | 14 <destination>$INSTALL_DIR/bin</destination> |
30 </action> | 15 </action> |
31 <action type="set_environment"> | 16 <action type="set_environment"> |
32 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable> | 17 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable> |
33 </action> | 18 </action> |