# HG changeset patch # User bgruening # Date 1444465800 14400 # Node ID 4571a1e192e27a713e830dc66e78e8a311eb6cc3 # Parent 6ebf4fdf53597fb7277f9ec881189af62f42dcab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit fdfb58648bf02f85eb59bdb5b2b5d30d6ac116ef-dirty diff -r 6ebf4fdf5359 -r 4571a1e192e2 tool_dependencies.xml --- a/tool_dependencies.xml Thu Sep 03 19:19:56 2015 -0400 +++ b/tool_dependencies.xml Sat Oct 10 04:30:00 2015 -0400 @@ -4,8 +4,20 @@ http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz - make -f Makefile-libbz2_so - make install PREFIX=$INSTALL_DIR/bzlib + + 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 && + ln -s libbz2.so.1.0 $INSTALL_DIR/bzlib/lib/libbz2.so + elif [[ "$unamestr" == 'Darwin' ]]; then + make && + make install PREFIX=$INSTALL_DIR/bzlib + fi + ./ $INSTALL_DIR/bzlib/source