7
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <set_environment version="0.9">
|
|
4 <environment_variable name="R_SCRIPTS_PATH" action="set_to">$REPOSITORY_INSTALL_DIR</environment_variable>
|
|
5 </set_environment>
|
|
6 <package name="R" version="3.0.0">
|
|
7 <install version="0.9">
|
|
8 <actions>
|
|
9 <action type="download_by_url">http://CRAN.R-project.org/src/base/R-3/R-3.0.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="set_environment">
|
|
13 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
|
|
14 </action>
|
|
15 <action type="shell_command">R --no-save <<< "install.packages("getopt"); source('http://rnbeads.mpi-inf.mpg.de')"</action>
|
|
16 </actions>
|
|
17 </install>
|
|
18 <readme>
|
|
19 You need a FORTRAN compiler or perhaps f2c in addition to a C compiler to build R.
|
|
20 </readme>
|
|
21 </package>
|
|
22 </tool_dependency> |