0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
1
|
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" />
|
0
|
5 </package>
|
|
6 <package name="libpng" version="1.6.7">
|
1
|
7 <repository changeset_revision="7de5acbf6c85" name="package_libpng_1_6_7" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
0
|
8 </package>
|
|
9 <package name="cairo" version="1.12.14">
|
2
|
10 <repository changeset_revision="4e91b26c4fef" name="package_cairo_1_12_14" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
0
|
11 </package>
|
|
12 <package name="pixman" version="0.32.4">
|
2
|
13 <repository changeset_revision="7c1b724614eb" name="package_pixman_0_32_4" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
0
|
14 </package>
|
|
15 <package name="freetype" version="2.5.2">
|
2
|
16 <repository changeset_revision="f349e776ca59" name="package_freetype_2_5_2" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
0
|
17 </package>
|
|
18 <package name="R" version="2.15.0">
|
1
|
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>
|
0
|
22 <action type="set_environment_for_install">
|
1
|
23 <repository changeset_revision="ff20613e6fee" name="package_readline_6_2" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
|
|
24 <package name="readline" version="6.2" />
|
|
25 </repository>
|
|
26 <repository changeset_revision="7de5acbf6c85" name="package_libpng_1_6_7" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
|
|
27 <package name="libpng" version="1.6.7" />
|
|
28 </repository>
|
2
|
29 <repository changeset_revision="4e91b26c4fef" name="package_cairo_1_12_14" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
|
1
|
30 <package name="cairo" version="1.12.14" />
|
|
31 </repository>
|
2
|
32 <repository changeset_revision="7c1b724614eb" name="package_pixman_0_32_4" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
|
1
|
33 <package name="pixman" version="0.32.4" />
|
|
34 </repository>
|
2
|
35 <repository changeset_revision="f349e776ca59" name="package_freetype_2_5_2" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
|
1
|
36 <package name="freetype" version="2.5.2" />
|
|
37 </repository>
|
0
|
38 </action>
|
|
39 <action type="shell_command">
|
2
|
40 export LDFLAGS="-L$PNG_LIBS -L$READLINE_LIBS" &&
|
|
41 export LDFLAGS="$LDFLAGS -Wl,-rpath,$READLINE_LIBS" &&
|
|
42 export LDFLAGS="$LDFLAGS -Wl,-rpath,$PIXMAN_LIB_PATH" &&
|
|
43 export LDFLAGS="$LDFLAGS -Wl,-rpath,$PNG_LIB_PATH" &&
|
|
44 export LDFLAGS="$LDFLAGS -Wl,-rpath,$FREETYPE_LIB_PATH" &&
|
|
45 export CFLAGS="-I$PNG_INCLUDES -I$READLINE_INCLUDES" &&
|
|
46 export CXXFLAGS="-I$PNG_INCLUDES -I$READLINE_INCLUDES" &&
|
|
47 export CPPFLAGS="-I$PNG_INCLUDES -I$READLINE_INCLUDES" &&
|
0
|
48 ./configure --with-blas \
|
|
49 --with-lapack \
|
|
50 --with-readline \
|
|
51 --with-cairo \
|
|
52 --with-libpng \
|
|
53 --without-x \
|
|
54 --enable-R-shlib \
|
1
|
55 --disable-R-framework \
|
2
|
56 --libdir=$INSTALL_DIR/lib \
|
0
|
57 --prefix=$INSTALL_DIR
|
|
58 </action>
|
|
59 <action type="make_install" />
|
|
60 <action type="set_environment">
|
1
|
61 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable>
|
0
|
62 <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable>
|
|
63 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/lib/R/bin</environment_variable>
|
|
64 </action>
|
|
65 </actions>
|
|
66 </install>
|
|
67 <readme>R is a free software environment for statistical computing and graphics
|
|
68 WARNING: See custom compilation options above
|
|
69 </readme>
|
|
70 </package>
|
|
71 </tool_dependency>
|