changeset 1:5c491b96b700 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_ruby_2_1 commit e10d6e2c4435771dc6f44d940359c1a31c0d6742-dirty
author iuc
date Fri, 17 Jul 2015 11:09:00 -0400
parents f4bdcc1898b5
children 881d395535ee
files tool_dependencies.xml
diffstat 1 files changed, 33 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Mon Feb 17 14:14:13 2014 -0500
+++ b/tool_dependencies.xml	Fri Jul 17 11:09:00 2015 -0400
@@ -1,16 +1,47 @@
 <?xml version="1.0"?>
 <tool_dependency>
+    <package name="libxml2" version="2.9.1">
+        <repository changeset_revision="3af7ad13a6fb" name="package_libxml2_2_9_1" owner="devteam" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="readline" version="6.2">
+        <repository changeset_revision="52d6f646b3b5" name="package_readline_6_2" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="openssl" version="1.0">
+        <repository changeset_revision="6b818a0cd69a" name="package_openssl_1_0" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="ncurses" version="5.9">
+        <repository changeset_revision="5e1760c773ba" name="package_ncurses_5_9" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
     <package name="ruby" version="2.1">
         <install version="1.0">
             <actions>
-                <action type="download_by_url">http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.gz</action>
+                <action type="download_by_url">https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.6.tar.gz</action>
 
+                <action type="set_environment_for_install">
+                    <repository changeset_revision="3af7ad13a6fb" name="package_libxml2_2_9_1" owner="devteam" toolshed="https://toolshed.g2.bx.psu.edu">
+                        <package name="libxml2" version="2.9.1" />
+                    </repository>
+                    <repository changeset_revision="6b818a0cd69a" name="package_openssl_1_0" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
+                        <package name="openssl" version="1.0" />
+                    </repository>
+                    <repository changeset_revision="52d6f646b3b5" name="package_readline_6_2" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
+                        <package name="readline" version="6.2" />
+                    </repository>
+                    <repository changeset_revision="5e1760c773ba" name="package_ncurses_5_9" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
+                        <package name="ncurses" version="5.9" />
+                    </repository>
+                </action>
+
+                <!-- Fails on OSX due to lack of openssl. -->
                 <action type="autoconf">--disable-install-doc</action>
+
                 <action type="set_environment">
                     <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                     <environment_variable action="set_to" name="RUBYLIB">$INSTALL_DIR/lib/</environment_variable>
                     <environment_variable action="set_to" name="RUBY_HOME">$INSTALL_DIR</environment_variable>
-                    <environment_variable action="set_to" name="GALAXY_RUBY_HOME">$INSTALL_DIR</environment_variable>
+                    <environment_variable action="set_to" name="RUBY_ROOT_DIR">$INSTALL_DIR</environment_variable>
+                    <environment_variable action="append_to" name="LD_LIBRARY_PATH">$ENV[LIBXML_ROOT_PATH]/lib</environment_variable>
+                    <environment_variable action="prepend_to" name="PKG_CONFIG_PATH">$INSTALL_DIR/lib/pkgconfig</environment_variable>
                 </action>
             </actions>
         </install>