view tool_dependencies.xml @ 0:959a0e30d6c1 draft default tip

Uploaded
author kevyin
date Sat, 19 Jan 2013 21:51:49 -0500
parents
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
  <set_environment version="1.0">
    <environment_variable name="SOMEWRAPPER_R_SCRIPT_PATH" action="set_to">$REPOSITORY_INSTALL_DIR</environment_variable>
  </set_environment>
  <package name="R" version="2.15.1">
    <install version="1.0">
      <actions>
        <action type="download_by_url">http://CRAN.R-project.org/src/base/R-2/R-2.15.1.tar.gz</action>
        <action type="shell_command">./configure --prefix=$INSTALL_DIR</action>
        <action type="shell_command">make</action>
        <action type="set_environment">
          <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
        </action>
      </actions>
    </install>
    <readme>
      You need a FORTRAN compiler or perhaps f2c in addition to a C compiler to build R.
    </readme>
  </package>
</tool_dependency>