Mercurial > repos > iuc > package_bzlib_1_0
changeset 16:f510d17420fb draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit fdfb58648bf02f85eb59bdb5b2b5d30d6ac116ef-dirty
author | bgruening |
---|---|
date | Sat, 10 Oct 2015 04:51:36 -0400 |
parents | 4571a1e192e2 |
children | f4fc10839a05 |
files | tool_dependencies.xml |
diffstat | 1 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/tool_dependencies.xml Sat Oct 10 04:30:00 2015 -0400 +++ b/tool_dependencies.xml Sat Oct 10 04:51:36 2015 -0400 @@ -4,19 +4,19 @@ <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"> - unamestr=`uname` && - if [[ "$unamestr" == 'Linux' ]]; then - 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 && + <action type="shell_command"><![CDATA[ + if [ "$(uname -s)" == 'Linux' ]; then + 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 - elif [[ "$unamestr" == 'Darwin' ]]; then - make && + elif [ "$(uname -s)" == 'Darwin' ]; then + make && make install PREFIX=$INSTALL_DIR/bzlib fi + ]]> </action> <action type="move_directory_files"> <source_directory>./</source_directory>