0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="R" version="2.11.0">
|
|
4 <install version="1.0">
|
|
5 <actions>
|
|
6 <action type="download_by_url">http://cran.rstudio.com/src/base/R-2/R-2.11.0.tar.gz</action>
|
|
7 <action type="shell_command">
|
|
8 ./configure --enable-R-shlib \
|
|
9 --with-readline=no \
|
|
10 --with-x=no \
|
|
11 --prefix=$INSTALL_DIR \
|
|
12 --libdir=$INSTALL_DIR/lib \
|
|
13 --disable-R-framework
|
|
14 </action>
|
|
15 <action type="shell_command">make && make install</action>
|
|
16 <action type="set_environment">
|
|
17 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable>
|
|
18 <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable>
|
|
19 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/lib/R/bin</environment_variable>
|
|
20 </action>
|
|
21 </actions>
|
|
22 </install>
|
|
23 <readme>
|
|
24 R is a free software environment for statistical computing and graphics.
|
|
25 NOTE: See custom compilation options above
|
|
26 </readme>
|
|
27 </package>
|
|
28 </tool_dependency> |