changeset 0:24d3cf4c966d draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_sailfish_0_7_2 commit 4c44b550f39ec90756c7bf5277fa1341de767bfd-dirty
author iuc
date Thu, 03 Sep 2015 14:19:13 -0400
parents
children
files tool_dependencies.xml
diffstat 1 files changed, 60 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Thu Sep 03 14:19:13 2015 -0400
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="boost" version="1.53.0">
+        <repository changeset_revision="a3df665907d3" name="package_boost_1_53" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
+    </package>
+
+    <package name="sailfish" version="0.7.2">
+        <install version="1.0">
+            <actions_group>
+                <actions architecture="x86_64" os="linux">
+                    <action type="download_by_url">https://github.com/kingsfordgroup/sailfish/releases/download/v0.7.2/SailfishBeta-0.7.2_Linux-x86-64.tar.gz</action>
+                    <action type="move_directory_files">
+                        <source_directory>.</source_directory>
+                        <destination_directory>$INSTALL_DIR</destination_directory>
+                    </action>
+                    <action type="set_environment">
+                        <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib/</environment_variable>
+                        <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
+                    </action>
+                </actions>
+                <actions architecture="x86_64" os="darwin">
+                    <action type="download_by_url">https://github.com/kingsfordgroup/sailfish/releases/download/v0.7.2/SailfishBeta-0.7.2_OSX_10.10.tar.gz</action>
+                    <action type="move_directory_files">
+                        <source_directory>.</source_directory>
+                        <destination_directory>$INSTALL_DIR</destination_directory>
+                    </action>
+                    <action type="set_environment">
+                        <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib/</environment_variable>
+                        <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
+                    </action>
+                </actions>
+                <actions>
+                    <!-- first action is always downloading -->
+                    <action type="download_by_url">https://github.com/kingsfordgroup/sailfish/archive/v0.7.2.tar.gz</action>
+
+                    <!-- populate the environment variables from the dependend repos -->
+                    <action type="set_environment_for_install">
+                        <repository changeset_revision="a3df665907d3" name="package_boost_1_53" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
+                            <package name="boost" version="1.53.0" />
+                        </repository>
+                    </action>
+
+                    <!-- PYTHONPATH_NUMPY is set in the numpy package -->
+                    <action type="shell_command">
+                        mkdir build &amp;&amp;
+                        cd build &amp;&amp;
+                        cmake .. -DBOOST_ROOT=$BOOST_ROOT_DIR -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR</action>
+                    <action type="shell_command">cd ./build &amp;&amp; make </action>
+                    <action type="shell_command">cd ./build &amp;&amp; make install</action>
+                    <action type="set_environment">
+                        <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib/</environment_variable>
+                        <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
+                        <environment_variable action="append_to" name="LD_LIBRARY_PATH">$ENV[BOOST_ROOT_DIR]/lib/</environment_variable>
+                    </action>
+                </actions>
+            </actions_group>
+        </install>
+        <readme>Compiling sailfish requires cmake and C++11 compiler (usually gcc).</readme>
+    </package>
+</tool_dependency>