0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
2
|
3 <package name="lapack" version="3.4.2">
|
|
4 <repository changeset_revision="a6b8f46acca7" name="package_lapack_3_4" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
5 </package>
|
|
6 <package name="atlas" version="3.10.1">
|
|
7 <repository changeset_revision="25dc49b0d6d5" name="package_atlas_3_10" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
0
|
8 </package>
|
|
9 <package name="readline" version="6.2">
|
|
10 <repository changeset_revision="b936498ae90c" name="package_readline_6_2" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
11 </package>
|
2
|
12
|
|
13 <package name="R_3_0_1" version="3.0.1">
|
0
|
14 <install version="1.0">
|
|
15 <actions>
|
2
|
16 <action type="download_by_url">http://cran.ms.unimelb.edu.au/src/base/R-3/R-3.0.1.tar.gz</action>
|
0
|
17 <action type="set_environment_for_install">
|
2
|
18 <repository changeset_revision="25dc49b0d6d5" name="package_atlas_3_10" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
19 <package name="atlas" version="3.10.1" />
|
|
20 </repository>
|
|
21 <repository changeset_revision="a6b8f46acca7" name="package_lapack_3_4" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
22 <package name="lapack" version="3.4.2" />
|
|
23 </repository>
|
0
|
24 <repository changeset_revision="b936498ae90c" name="package_readline_6_2" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
25 <package name="readline" version="6.2" />
|
|
26 </repository>
|
|
27 </action>
|
|
28
|
|
29 <action type="shell_command">
|
2
|
30 export LDFLAGS=-L$READLINE_LIB_PATH &&
|
|
31 export CPPFLAGS=-I$READLINE_INCLUDE_PATH &&
|
|
32 ./configure --with-lapack="-L$ATLAS_LIB_DIR -llapack -lcblas" --with-blas="$LAPACK_LIB_DIR" --enable-R-shlib --with-x=no --with-readline=yes --prefix=$INSTALL_DIR && make && make install
|
|
33 </action>
|
0
|
34 <action type="set_environment">
|
2
|
35 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable>
|
|
36 <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable>
|
|
37 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/lib/R/bin</environment_variable>
|
|
38 <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib/R/lib</environment_variable>
|
0
|
39 </action>
|
|
40 </actions>
|
|
41 </install>
|
2
|
42 <readme>R is a free software environment for statistical computing and graphics. http://www.r-project.org/</readme>
|
0
|
43 </package>
|
|
44 </tool_dependency>
|