0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="readline" version="6.2">
|
2
|
4 <repository changeset_revision="16fc64dad9ca" name="package_readline_6_2" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
0
|
5 </package>
|
|
6 <package name="R" version="2.15.0">
|
|
7 <install version="1.0">
|
|
8 <actions>
|
|
9 <action type="download_by_url">http://cran.rstudio.com/src/base/R-2/R-2.15.0.tar.gz</action>
|
|
10 <action type="set_environment_for_install">
|
2
|
11 <repository changeset_revision="16fc64dad9ca" name="package_readline_6_2" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
|
1
|
12 <package name="readline" version="6.2" />
|
|
13 </repository>
|
0
|
14 </action>
|
|
15 <action type="make_directory">$INSTALL_DIR</action>
|
|
16 <action type="shell_command">export LDFLAGS="-L$READLINE_LIBS" && ./configure --with-blas --with-lapack --enable-R-shlib --with-x=no --prefix=$INSTALL_DIR && make && make install</action>
|
|
17 <action type="set_environment">
|
|
18 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable>
|
|
19 <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable>
|
|
20 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/lib/R/bin</environment_variable>
|
|
21 </action>
|
|
22 </actions>
|
|
23 </install>
|
|
24 <readme>R is a free software environment for statistical computing and graphics
|
|
25 WARNING: See custom compilation options above
|
|
26 </readme>
|
|
27 </package>
|
|
28 </tool_dependency>
|