Mercurial > repos > iuc > package_bzlib_1_0
changeset 5:af4887e1f595 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit b506753c5a6c755d070d36eab553e79692b2f232
author | iuc |
---|---|
date | Mon, 19 Oct 2015 19:25:09 -0400 |
parents | 1a4043ab3e99 |
children | |
files | tool_dependencies.xml |
diffstat | 1 files changed, 34 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/tool_dependencies.xml Mon Oct 19 16:56:10 2015 -0400 +++ b/tool_dependencies.xml Mon Oct 19 19:25:09 2015 -0400 @@ -1,15 +1,39 @@ <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 -f Makefile-libbz2_so</action> - <action type="shell_command">make install PREFIX=$INSTALL_DIR/bzlib</action> - <action type="move_directory_files"> - <source_directory>./</source_directory> - <destination_directory>$INSTALL_DIR/bzlib/source</destination_directory> - </action> + <actions_group> + <actions os="linux" architecture="x86_64"> + <!-- 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"> + <![CDATA[ + make -f Makefile-libbz2_so && + make && + make install PREFIX=$INSTALL_DIR/bzlib && + cp bzip2-shared $INSTALL_DIR/bzlib/bin/bzip2 && + cp -a libbz2.so* $INSTALL_DIR/bzlib/lib && + ln -s libbz2.so.1.0 $INSTALL_DIR/bzlib/lib/libbz2.so + ]]> + </action> + <action type="move_directory_files"> + <source_directory>./</source_directory> + <destination_directory>$INSTALL_DIR/bzlib/source</destination_directory> + </action> + </actions> + <actions> + <!-- This actions tag is processed for all platforms besides Linux x86_64. --> + <action type="download_by_url">http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz</action> + <action type="shell_command"> + <![CDATA[ + make && + make install PREFIX=$INSTALL_DIR/bzlib + ]]> + </action> + <action type="move_directory_files"> + <source_directory>./</source_directory> + <destination_directory>$INSTALL_DIR/bzlib/source</destination_directory> + </action> + </actions> <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> @@ -22,7 +46,7 @@ <environment_variable name="CPLUS_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/bzlib/include</environment_variable> <environment_variable name="C_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/bzlib/include</environment_variable> </action> - </actions> + </actions_group> </install> <readme>Compiling bzlib requires make and a C compiler. You can access bzlib with $BZLIB_LIB_DIR and $BZLIB_INCLUDE_DIR.</readme> </package>