comparison tool_dependencies.xml @ 0:86edfc3455d5 draft default tip

Uploaded
author si-datascience
date Mon, 10 Dec 2018 13:27:50 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:86edfc3455d5
1 <tool_dependency>
2 <package name="bzlib" version="1.0.6">
3 <install version="1.0">
4 <actions_group>
5 <actions os="linux" architecture="x86_64">
6 <!-- first action is always downloading -->
7 <action type="download_by_url">https://phoenixnap.dl.sourceforge.net/project/bzip2/bzip2-1.0.6.tar.gz</action>
8 <action type="shell_command">
9 <![CDATA[
10 make -f Makefile-libbz2_so &&
11 make &&
12 make install PREFIX=$INSTALL_DIR/bzlib &&
13 cp bzip2-shared $INSTALL_DIR/bzlib/bin/bzip2 &&
14 cp -a libbz2.so* $INSTALL_DIR/bzlib/lib &&
15 ln -s libbz2.so.1.0 $INSTALL_DIR/bzlib/lib/libbz2.so
16 ]]>
17 </action>
18 <action type="move_directory_files">
19 <source_directory>./</source_directory>
20 <destination_directory>$INSTALL_DIR/bzlib/source</destination_directory>
21 </action>
22 </actions>
23 <actions>
24 <!-- This actions tag is processed for all platforms besides Linux x86_64. -->
25 <action type="download_by_url">http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz</action>
26 <action type="shell_command">
27 <![CDATA[
28 make &&
29 make install PREFIX=$INSTALL_DIR/bzlib
30 ]]>
31 </action>
32 <action type="move_directory_files">
33 <source_directory>./</source_directory>
34 <destination_directory>$INSTALL_DIR/bzlib/source</destination_directory>
35 </action>
36 </actions>
37 <action type="set_environment">
38 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bzlib/bin</environment_variable>
39 <environment_variable name="BZLIB_LIB_DIR" action="set_to">$INSTALL_DIR/bzlib/lib</environment_variable>
40 <environment_variable name="BZLIB_INCLUDE_DIR" action="set_to">$INSTALL_DIR/bzlib/include</environment_variable>
41 <environment_variable name="BZLIB_SOURCE_DIR" action="set_to">$INSTALL_DIR/bzlib/source</environment_variable>
42 <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/bzlib/lib</environment_variable>
43 <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/bzlib/source</environment_variable>
44 <environment_variable name="LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/bzlib/lib</environment_variable>
45 <environment_variable name="LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/bzlib/source</environment_variable>
46 <environment_variable name="CPLUS_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/bzlib/include</environment_variable>
47 <environment_variable name="C_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/bzlib/include</environment_variable>
48 </action>
49 </actions_group>
50 </install>
51 <readme>Compiling bzlib requires make and a C compiler. You can access bzlib with $BZLIB_LIB_DIR and $BZLIB_INCLUDE_DIR.</readme>
52 </package>
53 </tool_dependency>