view tool_dependencies.xml @ 0:8ab0d08a3da1 draft

Imported from capsule None
author devteam
date Mon, 27 Jan 2014 09:25:06 -0500
parents
children 99d03d6b75cf
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
  <package name="readline" version="6.2">
      <repository changeset_revision="16fc64dad9ca" name="package_readline_6_2" owner="devteam" prior_installation_required="False" toolshed="http://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="R" version="2.15.0">
      <install version="1.0">
          <actions>
              <action type="download_by_url">http://cran.rstudio.com/src/base/R-2/R-2.15.0.tar.gz</action>
                <action type="set_environment_for_install">
                  <repository changeset_revision="16fc64dad9ca" name="package_readline_6_2" owner="devteam" prior_installation_required="False" toolshed="http://toolshed.g2.bx.psu.edu" />
                </action>
                <action type="make_directory">$INSTALL_DIR</action>
                <action type="shell_command">export LDFLAGS="-L$READLINE_LIBS" &amp;&amp; ./configure --with-blas --with-lapack --enable-R-shlib --with-x=no --prefix=$INSTALL_DIR &amp;&amp; make &amp;&amp; make install</action>
                <action type="set_environment">
                  <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable>
                    <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable>
                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/lib/R/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme>R is a free software environment for statistical computing and graphics
                WARNING: See custom compilation options above 
       </readme>
    </package>
</tool_dependency>