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