45
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <set_environment version="1.0">
|
|
4 <environment_variable name="R_SCRIPTS_PATH" action="set_to">$REPOSITORY_INSTALL_DIR</environment_variable>
|
|
5 </set_environment>
|
|
6 <package name="R" version="3.1.0">
|
|
7 <install version="1.0">
|
|
8 <actions>
|
|
9 <action type="download_by_url">http://CRAN.R-project.org/src/base/R-3/R-3.1.0.tar.gz</action>
|
|
10 <action type="shell_command">./configure --prefix=$INSTALL_DIR --with-x=no</action>
|
|
11 <action type="shell_command">make</action>
|
|
12 <action type="shell_command">make install</action>
|
|
13 <action type="set_environment">
|
|
14 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
|
|
15 </action>
|
|
16 <action type="shell_command">$INSTALL_DIR/bin/R --no-save <<< "install.packages('getopt', repos='http://cran.r-project.org'); source('http://rnbeads.mpi-inf.mpg.de/install.R')"</action>
|
|
17 </actions>
|
|
18 </install>
|
|
19 <readme>
|
|
20 You need a FORTRAN compiler or perhaps f2c in addition to a C compiler to build R.
|
|
21 </readme>
|
|
22 </package>
|
|
23 </tool_dependency> |