Mercurial > repos > mvdbeek > package_ascp_3
comparison tool_dependencies.xml @ 0:e053dbdb5302 draft default tip
planemo upload for repository https://bitbucket.org/drosofff/gedtools/ commit 92d32947393757598262fbaed175b2c6fd84c181
| author | mvdbeek |
|---|---|
| date | Fri, 25 Sep 2015 09:23:56 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:e053dbdb5302 |
|---|---|
| 1 <?xml version="1.0"?> | |
| 2 <tool_dependency> | |
| 3 <package name="ascp" version="3"> | |
| 4 <install version="1.0"> | |
| 5 <actions_group> | |
| 6 <actions architecture="x86_64" os="darwin"> | |
| 7 <!-- <action type="download_by_url">http://download.asperasoft.com/download/sw/connect/3.6.0/AsperaConnectInstaller-3.6.0.106805.dmg</action> --> | |
| 8 <action type="download_by_url">https://bitbucket.org/mvdbeek/galaxy_downloads/downloads/AsperaConnectInstaller-3.6.0.106805.dmg</action> | |
| 9 <action type="shell_command">hdiutil attach -mountpoint install AsperaConnectInstaller-3.6.0.106805.dmg</action> | |
| 10 <action type="shell_command">pkgutil --expand install/AsperaConnectInstaller.pkg extract</action> | |
| 11 <action type="shell_command">cat extract/AsperaConnect.pkg/Payload | gzip -d - | cpio -id</action> | |
| 12 <action type="shell_command">hdiutil detach install</action> | |
| 13 <action type="move_directory_files"> | |
| 14 <source_directory>Applications/Aspera Connect.app/Contents/Resources/</source_directory> | |
| 15 <destination_directory>$INSTALL_DIR/bin</destination_directory> | |
| 16 </action> | |
| 17 <action type="set_environment"> | |
| 18 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable> | |
| 19 </action> | |
| 20 </actions> | |
| 21 <actions architecture="x86_64" os="linux"> | |
| 22 <!-- <action type="download_file">http://download.asperasoft.com/download/sw/ascp-client/3.5.4/ascp-install-3.5.4.102989-linux-64.sh</action> --> | |
| 23 <action type="download_file">https://bitbucket.org/mvdbeek/galaxy_downloads/downloads/ascp-install-3.5.4.102989-linux-64.sh</action> | |
| 24 <action type="download_file">https://bitbucket.org/mvdbeek/galaxy_downloads/downloads/asperaweb_id_dsa.openssh</action> | |
| 25 <action type="move_file"> | |
| 26 <source>asperaweb_id_dsa.openssh</source> | |
| 27 <destination>$INSTALL_DIR/bin</destination> | |
| 28 </action> | |
| 29 <action type="shell_command"> | |
| 30 sed -i.bak -e 's|if test `id -u` -ne 0; then echo You must be root; exit 1; fi||' ascp-install-3.5.4.102989-linux-64.sh | |
| 31 sed -i.bak -e 's|/usr/local|$INSTALL_DIR|'g ascp-install-3.5.4.102989-linux-64.sh | |
| 32 sed -i.bak -e 's|ln -sf $INSTALL_DIR/bin/ascp /usr/bin||' ascp-install-3.5.4.102989-linux-64.sh | |
| 33 sh ascp-install-3.5.4.102989-linux-64.sh | |
| 34 </action> | |
| 35 <action type="set_environment"> | |
| 36 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable> | |
| 37 </action> | |
| 38 </actions> | |
| 39 </actions_group> | |
| 40 </install> | |
| 41 | |
| 42 <readme> | |
| 43 This tool dependency definition downloads and installs the aspera connect client, used for accelerating | |
| 44 ncbi sra downloads. | |
| 45 </readme> | |
| 46 </package> | |
| 47 </tool_dependency> |
