|
0
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
1
|
3 <package name="R_3_1_1" version="3.1.1">
|
|
|
4 <install version="1.0">
|
|
|
5 <actions_group>
|
|
|
6 <actions>
|
|
|
7 <package name="readline" version="6.2">
|
|
|
8 <repository changeset_revision="246f31787ca1" name="package_readline_6_2" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
0
|
9 </package>
|
|
|
10 <package name="libpng" version="1.6.7">
|
|
1
|
11 <repository changeset_revision="833849e0ddfc" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
0
|
12 </package>
|
|
|
13 <package name="cairo" version="1.12.14">
|
|
1
|
14 <repository changeset_revision="8f011e7388e1" name="package_cairo_1_12_14" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
0
|
15 </package>
|
|
|
16 <package name="pixman" version="0.32.4">
|
|
1
|
17 <repository changeset_revision="bcf53d429118" name="package_pixman_0_32_4" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
0
|
18 </package>
|
|
|
19 <package name="freetype" version="2.5.2">
|
|
1
|
20 <repository changeset_revision="34ebf47e4941" name="package_freetype_2_5_2" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
|
21 </package>
|
|
|
22 <package name="libxml2" version="2.9.1">
|
|
|
23 <repository changeset_revision="926b471a2e43" name="package_libxml2_2_9_1" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
|
24 </package>
|
|
|
25 <package name="libcurl" version="7.35">
|
|
|
26 <repository changeset_revision="13bf1327b5ac" name="package_libcurl_7_35" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
0
|
27 </package>
|
|
|
28 <action type="download_by_url">http://cran.rstudio.com/src/base/R-3/R-3.1.1.tar.gz</action>
|
|
|
29 <action type="set_environment_for_install">
|
|
1
|
30 <repository changeset_revision="246f31787ca1" name="package_readline_6_2" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
|
31 <package name="readline" version="6.2" />
|
|
0
|
32 </repository>
|
|
|
33 <repository changeset_revision="833849e0ddfc" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
1
|
34 <package name="libpng" version="1.6.7" />
|
|
0
|
35 </repository>
|
|
|
36 <repository changeset_revision="8f011e7388e1" name="package_cairo_1_12_14" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
1
|
37 <package name="cairo" version="1.12.14" />
|
|
0
|
38 </repository>
|
|
|
39 <repository changeset_revision="bcf53d429118" name="package_pixman_0_32_4" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
1
|
40 <package name="pixman" version="0.32.4" />
|
|
0
|
41 </repository>
|
|
|
42 <repository changeset_revision="34ebf47e4941" name="package_freetype_2_5_2" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
1
|
43 <package name="freetype" version="2.5.2" />
|
|
|
44 </repository>
|
|
|
45 <repository changeset_revision="926b471a2e43" name="package_libxml2_2_9_1" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
|
46 <package name="libxml2" version="2.9.1" />
|
|
|
47 </repository>
|
|
|
48 <repository changeset_revision="13bf1327b5ac" name="package_libcurl_7_35" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
|
49 <package name="libcurl" version="7.35" />
|
|
0
|
50 </repository>
|
|
|
51 </action>
|
|
|
52 <action type="shell_command">
|
|
2
|
53 export LDFLAGS="-L$PNG_LIBS -L$READLINE_LIBS" &&
|
|
|
54 export LDFLAGS="$LDFLAGS -Wl,-rpath,$READLINE_LIBS" &&
|
|
0
|
55 export LDFLAGS="$LDFLAGS -Wl,-rpath,$PIXMAN_LIB_PATH" &&
|
|
|
56 export LDFLAGS="$LDFLAGS -Wl,-rpath,$PNG_LIB_PATH" &&
|
|
|
57 export LDFLAGS="$LDFLAGS -Wl,-rpath,$FREETYPE_LIB_PATH" &&
|
|
2
|
58 export CFLAGS="-I$PNG_INCLUDES -I$READLINE_LIBS" &&
|
|
|
59 export CXXFLAGS="-I$PNG_INCLUDES -I$READLINE_LIBS" &&
|
|
|
60 export CPPFLAGS="-I$PNG_INCLUDES -I$READLINE_LIBS" &&
|
|
0
|
61 ./configure --with-tcltk \
|
|
|
62 --with-blas \
|
|
|
63 --with-lapack \
|
|
|
64 --with-readline \
|
|
|
65 --with-cairo \
|
|
|
66 --with-libpng \
|
|
|
67 --without-x \
|
|
|
68 --enable-R-shlib \
|
|
|
69 --disable-R-framework \
|
|
|
70 --libdir=$INSTALL_DIR/lib \
|
|
|
71 --prefix=$INSTALL_DIR
|
|
|
72 </action>
|
|
|
73 <action type="make_install" />
|
|
|
74 <action type="shell_command">sed -i.bak 's;$INSTALL_DIR;\${R_ROOT_DIR};g' $INSTALL_DIR/bin/R</action>
|
|
|
75 <action type="shell_command">sed -i.bak 's;$INSTALL_DIR;\${R_ROOT_DIR};g' $INSTALL_DIR/lib/R/bin/R</action>
|
|
|
76 </actions>
|
|
|
77 <action type="set_environment">
|
|
1
|
78 <environment_variable action="set_to" name="R_DOC_DIR">$INSTALL_DIR/lib/R/doc</environment_variable>
|
|
0
|
79 <environment_variable action="set_to" name="R_HOME_DIR">$INSTALL_DIR/lib/R</environment_variable>
|
|
|
80 <environment_variable action="set_to" name="R_INCLUDE_DIR">$INSTALL_DIR/lib/R/include</environment_variable>
|
|
|
81 <environment_variable action="set_to" name="R_SHARE_DIR">$INSTALL_DIR/lib/R/share</environment_variable>
|
|
|
82 <environment_variable action="set_to" name="R_ROOT_DIR">$INSTALL_DIR</environment_variable>
|
|
|
83 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable>
|
|
|
84 <environment_variable action="set_to" name="RHOME">$INSTALL_DIR/lib/R</environment_variable>
|
|
|
85 <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable>
|
|
|
86 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
|
87 </action>
|
|
|
88 </actions_group>
|
|
|
89 </install>
|
|
|
90 <readme>
|
|
|
91
|
|
|
92 R is a free software environment for statistical computing and graphics.
|
|
|
93 NOTE: See custom compilation options above.
|
|
|
94 </readme>
|
|
|
95 </package>
|
|
|
96 </tool_dependency>
|