diff tool_dependencies.xml @ 3:5fb45d8bbc07 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fastqc commit dd2bada7005c72c16cd3ea047cdc64896c1f8977
author iuc
date Wed, 13 Jan 2016 17:57:35 -0500
parents 39b1c10532a4
children
line wrap: on
line diff
--- a/tool_dependencies.xml	Sat Jan 18 22:33:36 2014 -0500
+++ b/tool_dependencies.xml	Wed Jan 13 17:57:35 2016 -0500
@@ -1,18 +1,29 @@
 <?xml version="1.0"?>
 <tool_dependency>
-    <package name="fastqc_dist_0_10_1" version="0.10.1">
+    <package name="FastQC" version="0.11.4">
         <install version="1.0">
-            <actions>
-                <action type="download_by_url">http://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v0.10.1.zip</action>
-                <action type="move_directory_files">
-                    <source_directory>../FastQC</source_directory>
-                    <destination_directory>$INSTALL_DIR/fastqc_dist</destination_directory>
-                </action>                
-                <action type="shell_command">chmod ugo+x $INSTALL_DIR/fastqc_dist/fastqc</action>
+            <actions_group>
+                <actions os="linux" architecture="x86_64">
+                    <action type="download_by_url" sha256sum="adb233f9fae7b02fe99e716664502adfec1b9a3fbb84eed4497122d6d33d1fe7">https://depot.galaxyproject.org/software/fastqc/fastqc_0.11.4_linux_all.zip</action>
+                    <action type="move_directory_files">
+                        <source_directory>../FastQC</source_directory>
+                        <destination_directory>$INSTALL_DIR</destination_directory>
+                        <action type="shell_command">chmod ugo+x $INSTALL_DIR/fastqc</action>
+                    </action>
+                </actions>
+                <actions os="darwin" architecture="x86_64">
+                    <action type="download_by_url" sha256sum="bd4089397cfa1086d81e7b29508542d2478917df8d1ef1fb494616da1b8e651a">https://depot.galaxyproject.org/software/fastqc/fastqc_0.11.4_darwin_all.dmg</action>
+                    <action type="shell_command">
+                        hdiutil attach fastqc_v0.11.4.dmg &amp;&amp;
+                        cp -R /Volumes/FastQC/FastQC.app $INSTALL_DIR &amp;&amp;
+                        hdiutil detach /Volumes/FastQC
+                    </action>
+                    <action type="shell_command">chmod ugo+x $INSTALL_DIR/fastqc</action>
+                </actions>
                 <action type="set_environment">
-                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/fastqc_dist</environment_variable>
+                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
                 </action>
-            </actions>
+            </actions_group>
         </install>
     </package>
 </tool_dependency>