view tool_dependencies.xml @ 7:9de51cc3fda4 draft

Fix for osx
author iracooke
date Mon, 03 Mar 2014 23:13:43 -0500
parents b7db8783ee39
children 790ba3c11d51
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="libxml2" version="2.9.1">
        <repository changeset_revision="cff446402e07" name="package_libxml2_2_9_1" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="openssl" version="1.0">
        <repository changeset_revision="d3f9ae5d3727" name="package_openssl_1_0" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
    </package>    
    <package name="iconv" version="1.14">
        <repository changeset_revision="fbb1ab7726db" name="package_iconv_1_14" owner="iracooke" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="ruby" version="2.0">
        <install version="1.0">
            <actions>
                <action type="set_environment_for_install">
                    <repository changeset_revision="cff446402e07" name="package_libxml2_2_9_1" owner="devteam" toolshed="http://testtoolshed.g2.bx.psu.edu">
                        <package name="libxml2" version="2.9.1" />
                    </repository>
                    <repository changeset_revision="d3f9ae5d3727" name="package_openssl_1_0" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
                        <package name="openssl" version="1.0" />
                    </repository>                    
                    <repository changeset_revision="fbb1ab7726db" name="package_iconv_1_14" owner="iracooke" toolshed="http://testtoolshed.g2.bx.psu.edu">
                        <package name="iconv" version="1.14" />
                    </repository>
                </action>

                <action type="download_file">http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p451.tar.gz</action>
                <action type="shell_command">tar -zxf ruby-2.0.0-p451.tar.gz</action>

                <action type="change_directory">./ruby-2.0.0-p451/</action>

                <action type="autoconf">--disable-install-doc --with-openssl-dir=$OPENSSL_ROOT_DIR</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>
                </action>
            </actions>
        </install>
        <readme>
            This installs ruby 2.0.x. Ruby is a dynamic, open source programming language with a focus on simplicity and productivity.
            It has an elegant syntax that is natural to read and easy to write.
            https://www.ruby-lang.org/

            RUBYHOME and RUBYLIB will be set and with GALAXY_RUBY_HOME you can access the root installation directory.
        </readme>
    </package>
</tool_dependency>