diff tool_dependencies.xml @ 3:2a5b50fd549f draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_progressivemauve_2_4_0 commit e8e971905f5fce11a99d51b1399af45288389d76
author iuc
date Thu, 21 May 2015 22:44:45 -0400
parents 6c3019882a23
children b1ba8f3bcdf1
line wrap: on
line diff
--- a/tool_dependencies.xml	Fri May 15 15:34:31 2015 -0400
+++ b/tool_dependencies.xml	Thu May 21 22:44:45 2015 -0400
@@ -2,16 +2,33 @@
 <tool_dependency>
     <package name="progressivemauve" version="2.4.0">
         <install version="1.0">
-            <actions>
-                <action type="download_by_url">http://darlinglab.org/mauve/downloads/mauve_linux_2.4.0.tar.gz</action>
-                <action type="move_file">
-                    <source>linux-x64/progressiveMauve</source>
-                    <destination>$INSTALL_DIR/bin</destination>
-                </action>
+            <actions_group>
+                <actions os="linux" architecture="x86_64">
+                    <action type="download_by_url">http://darlinglab.org/mauve/downloads/mauve_linux_2.4.0.tar.gz</action>
+                    <action type="move_file">
+                        <source>linux-x64/progressiveMauve</source>
+                        <destination>$INSTALL_DIR/bin</destination>
+                    </action>
+                    <action type="move_file">
+                        <source>linux-x64/mauveAligner</source>
+                        <destination>$INSTALL_DIR/bin</destination>
+                    </action>
+                </actions>
+
+                <actions os="darwin" architecture="x86_64">
+                    <action type="download_by_url">http://darlinglab.org/mauve/downloads/Mauve-2.4.0.dmg </action>
+                    <action type="shell_command">
+                        hdiutil attach Mauve-2.4.0.dmg &amp;&amp;
+                        mkdir -p $INSTALL_DIR/bin &amp;&amp;
+                        cp /Volumes/Mauve-2.4.0/Mauve.app/Contents/MacOS/progressiveMauve $INSTALL_DIR/bin &amp;&amp;
+                        cp /Volumes/Mauve-2.4.0/Mauve.app/Contents/MacOS/mauveAligner $INSTALL_DIR/bin &amp;&amp;
+                        hdiutil detach /Volumes/Mauve-2.4.0
+                    </action>
+                </actions>
                 <action type="set_environment">
                     <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                 </action>
-            </actions>
+            </actions_group>
         </install>
         <readme><![CDATA[
 Mauve is free of charge, open-source software licensed under the GNU GPL.