# HG changeset patch # User peterjc # Date 1384771358 18000 # Node ID 23b9ba41ad006cfda763b507a1410329b60fdee7 # Parent ed85ca8e429591601ed94bc3f02242878b46c74f Updated to use os/arch specific actions diff -r ed85ca8e4295 -r 23b9ba41ad00 tool_dependencies.xml --- a/tool_dependencies.xml Mon Oct 07 09:38:50 2013 -0400 +++ b/tool_dependencies.xml Mon Nov 18 05:42:38 2013 -0500 @@ -1,28 +1,63 @@ - + - + + + + ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.28/ncbi-blast-2.2.28+-universal-macosx.tar.gz + + bin + $INSTALL_DIR + + + + + ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.28/ncbi-blast-2.2.28+-universal-macosx.tar.gz + + bin + $INSTALL_DIR + + + + + ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.28/ncbi-blast-2.2.28+-x64-linux.tar.gz + + bin + $INSTALL_DIR + + + + + ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.28/ncbi-blast-2.2.28+-ia32-linux.tar.gz + + bin + $INSTALL_DIR + + + + + ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.28/ncbi-blast-2.2.28+-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.28+-ia32-linux.tar.gz"; fi && - if [[ "$(arch)" == "x86_64" ]]; then export FILENAME="ncbi-blast-2.2.28+-x64-linux.tar.gz"; fi && - if [[ "$(uname)" == "Darwin" ]]; then export FILENAME="ncbi-blast-2.2.28+-universal-macosx.tar.gz"; fi && - echo Fetching $FILENAME && - if [[ "$(uname)" == "Linux" ]]; then wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.28/$FILENAME; fi && - if [[ "$(uname)" == "Darwin" ]]; then curl -O ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.28/$FILENAME; fi && - tar -zxvf $FILENAME && - echo Downloaded and decompressed - - - - ncbi-blast-2.2.28+/bin - $INSTALL_DIR - - + Downloads the precompiled 32bit Linux, 64bit Linux, or Mac OS X BLAST+