0
|
1 <tool_dependency>
|
|
2 <package name="bzlib" version="1.0.6">
|
|
3 <install version="1.0">
|
|
4 <actions>
|
|
5 <!-- first action is always downloading -->
|
|
6 <action type="download_by_url">http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz</action>
|
|
7 <action type="shell_command">make</action>
|
|
8 <action type="shell_command">make install PREFIX=$INSTALL_DIR/bzlib</action>
|
|
9 <action type="move_directory_files">
|
|
10 <source_directory>./</source_directory>
|
|
11 <destination_directory>$INSTALL_DIR/bzlib/source</destination_directory>
|
|
12 </action>
|
|
13 <action type="set_environment">
|
|
14 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bzlib/bin</environment_variable>
|
|
15 <environment_variable name="BZLIB_LIB_DIR" action="set_to">$INSTALL_DIR/bzlib/lib</environment_variable>
|
|
16 <environment_variable name="BZLIB_INCLUDE_DIR" action="set_to">$INSTALL_DIR/bzlib/include</environment_variable>
|
|
17 <environment_variable name="BZLIB_SOURCE_DIR" action="set_to">$INSTALL_DIR/bzlib/source</environment_variable>
|
|
18 </action>
|
|
19 </actions>
|
|
20 </install>
|
|
21 <readme>Compiling bzlib requires make and a C compiler. You can access bzlib with $BZLIB_LIB_DIR and $BZLIB_INCLUDE_DIR.</readme>
|
|
22 </package>
|
|
23 </tool_dependency>
|