changeset 0:8d0a55bf7aaf draft

Uploaded tool dependency definition.
author devteam
date Wed, 25 Sep 2013 10:28:04 -0400
parents
children 6e1b17857732
files tool_dependencies.xml
diffstat 1 files changed, 28 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Wed Sep 25 10:28:04 2013 -0400
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="R" version="2.11.0">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">http://cran.rstudio.com/src/base/R-2/R-2.11.0.tar.gz</action>
+                <action type="shell_command">
+                    ./configure --enable-R-shlib \
+                                --with-readline=no \
+                                --with-x=no \
+                                --prefix=$INSTALL_DIR \
+                                --libdir=$INSTALL_DIR/lib \
+                                --disable-R-framework
+                </action>
+                <action type="shell_command">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.
+            NOTE: See custom compilation options above 
+        </readme>
+    </package>
+</tool_dependency>
\ No newline at end of file