diff tool_dependencies.xml @ 0:ce863615eddd draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_sailfish_0_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
author iuc
date Tue, 19 May 2015 15:01:38 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Tue May 19 15:01:38 2015 -0400
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="boost" version="1.53.0">
+        <repository changeset_revision="cee17eb9de41" name="package_boost_1_53" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+
+    <package name="sailfish" version="0.6.3">
+        <install version="1.0">
+            <actions>
+                <!-- first action is always downloading -->
+                <action type="download_by_url">https://github.com/kingsfordgroup/sailfish/archive/v0.6.3.tar.gz</action>
+
+                <!-- populate the environment variables from the dependend repos -->
+                <action type="set_environment_for_install">
+                    <repository changeset_revision="cee17eb9de41" name="package_boost_1_53" owner="iuc" toolshed="https://toolshed.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>
+        </install>
+        <readme>Compiling sailfish requires cmake and C++11 compiler (usually gcc).</readme>
+    </package>
+</tool_dependency>