0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="readline" version="6.2">
|
|
4 <repository changeset_revision="ff20613e6fee" name="package_readline_6_2" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
5 </package>
|
|
6 <package name="libpng" version="1.6.7">
|
|
7 <repository changeset_revision="7de5acbf6c85" name="package_libpng_1_6_7" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
8 </package>
|
|
9 <package name="cairo" version="1.12.14">
|
|
10 <repository changeset_revision="0e7e9b619f24" name="package_cairo_1_12_14" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
11 </package>
|
|
12 <package name="pixman" version="0.32.4">
|
|
13 <repository changeset_revision="32b797e460d8" name="package_pixman_0_32_4" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
14 </package>
|
|
15 <package name="freetype" version="2.5.2">
|
|
16 <repository changeset_revision="261854cf7ae9" name="package_freetype_2_5_2" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
17 </package>
|
|
18 <package name="R" version="2.15.0">
|
|
19 <install version="1.0">
|
|
20 <actions>
|
|
21 <action type="download_by_url">http://cran.rstudio.com/src/base/R-2/R-2.15.0.tar.gz</action>
|
|
22 <action type="set_environment_for_install">
|
|
23 <repository changeset_revision="ff20613e6fee" name="package_readline_6_2" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
24 <repository changeset_revision="7de5acbf6c85" name="package_libpng_1_6_7" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
25 <repository changeset_revision="0e7e9b619f24" name="package_cairo_1_12_14" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
26 <repository changeset_revision="32b797e460d8" name="package_pixman_0_32_4" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
27 <repository changeset_revision="261854cf7ae9" name="package_freetype_2_5_2" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
28 </action>
|
|
29 <action type="shell_command">
|
|
30 export LDFLAGS="-L$PNG_LIBS -L$READLINE_LIBS" && \
|
|
31 export CFLAGS="-I$PNG_INCLUDES -I$READLINE_INCLUDES" && \
|
|
32 export CXXFLAGS="-I$PNG_INCLUDES -I$READLINE_INCLUDES" && \
|
|
33 export CPPFLAGS="-I$PNG_INCLUDES -I$READLINE_INCLUDES" && \
|
|
34 ./configure --with-blas \
|
|
35 --with-lapack \
|
|
36 --with-readline \
|
|
37 --with-cairo \
|
|
38 --with-libpng \
|
|
39 --without-x \
|
|
40 --enable-R-shlib \
|
|
41 --prefix=$INSTALL_DIR
|
|
42 </action>
|
|
43 <action type="make_install" />
|
|
44 <action type="set_environment">
|
|
45 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable>
|
|
46 <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable>
|
|
47 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/lib/R/bin</environment_variable>
|
|
48 </action>
|
|
49 </actions>
|
|
50 </install>
|
|
51 <readme>R is a free software environment for statistical computing and graphics
|
|
52 WARNING: See custom compilation options above
|
|
53 </readme>
|
|
54 </package>
|
|
55 </tool_dependency>
|