# HG changeset patch # User peterjc # Date 1384771328 18000 # Node ID 972e154502eb57f137b7ae015589d2a834dd5220 # Parent ef3b30d6bfe8ccb54c11171f2c4813357af11b90 Updated to use os/arch specific actions diff -r ef3b30d6bfe8 -r 972e154502eb tool_dependencies.xml --- a/tool_dependencies.xml Mon Oct 07 09:37:43 2013 -0400 +++ b/tool_dependencies.xml Mon Nov 18 05:42:08 2013 -0500 @@ -1,28 +1,63 @@ - + - + + + + ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.27/ncbi-blast-2.2.27+-universal-macosx.tar.gz + + bin + $INSTALL_DIR + + + + + ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.27/ncbi-blast-2.2.27+-universal-macosx.tar.gz + + bin + $INSTALL_DIR + + + + + ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.27/ncbi-blast-2.2.27+-x64-linux.tar.gz + + bin + $INSTALL_DIR + + + + + ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.27/ncbi-blast-2.2.27+-ia32-linux.tar.gz + + bin + $INSTALL_DIR + + + + + ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.27/ncbi-blast-2.2.27+-ia32-linux.tar.gz + + bin + $INSTALL_DIR + + + + + echo ERROR: Automated installation on your operating system and CPU architecture combination is not yet supported. + echo Your machine details (the output from 'uname' and 'arch'): + uname + arch + echo Please report this via https://github.com/peterjc/galaxy_blast/issues - thank you! + false + + + $INSTALL_DIR - - - if [[ "$(uname)" == "Linux" ]]; then export FILENAME="ncbi-blast-2.2.27+-ia32-linux.tar.gz"; fi && - if [[ "$(arch)" == "x86_64" ]]; then export FILENAME="ncbi-blast-2.2.27+-x64-linux.tar.gz"; fi && - if [[ "$(uname)" == "Darwin" ]]; then export FILENAME="ncbi-blast-2.2.27+-universal-macosx.tar.gz"; fi && - echo Fetching $FILENAME && - if [[ "$(uname)" == "Linux" ]]; then wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.27/$FILENAME; fi && - if [[ "$(uname)" == "Darwin" ]]; then curl -O ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.27/$FILENAME; fi && - tar -zxvf $FILENAME && - echo Downloaded and decompressed - - - - ncbi-blast-2.2.27+/bin - $INSTALL_DIR - - + Downloads the precompiled 32bit Linux, 64bit Linux, or Mac OS X BLAST+