Mercurial > repos > bgruening > package_bzlib_1_0
changeset 0:b94209c4ad32
Uploaded
author | bgruening |
---|---|
date | Thu, 25 Apr 2013 12:28:41 -0400 (2013-04-25) |
parents | |
children | b9fe39021708 |
files | tool_dependencies.xml |
diffstat | 1 files changed, 20 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Thu Apr 25 12:28:41 2013 -0400 @@ -0,0 +1,20 @@ + <tool_dependency> + <package name="bzlib" version="1.0.6"> + <install version="1.0"> + <actions> + <!-- first action is always downloading --> + <action type="download_by_url">http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz</action> + + <action type="shell_command">make</action> + <action type="shell_command">make install PREFIX=$INSTALL_DIR/bzlib</action> + + <action type="set_environment"> + <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bzlib/bin</environment_variable> + <environment_variable name="BZLIB_LIB_DIR" action="set_to">$INSTALL_DIR/bzlib/lib/</environment_variable> + <environment_variable name="BZLIB_INCLUDE_DIR" action="set_to">$INSTALL_DIR/bzlib/include/</environment_variable> + </action> + </actions> + </install> + <readme>Compiling bzlib requires make and a C compiler. You can access bzlib with $BZLIB_LIB_DIR and $BZLIB_INCLUDE_DIR.</readme> + </package> +</tool_dependency>