comparison tool_dependencies.xml @ 2:6d84e7988416

Uploaded
author devteam
date Mon, 03 Mar 2014 16:31:24 -0500
parents 4692358aa325
children ec964438bb46
comparison
equal deleted inserted replaced
1:4692358aa325 2:6d84e7988416
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <tool_dependency> 2 <tool_dependency>
3 <package name="R" version="2.11.0"> 3 <package name="R" version="2.11.0">
4 <install version="1.0"> 4 <install version="1.0">
5 <actions> 5 <actions_group>
6 <action type="download_by_url">http://cran.rstudio.com/src/base/R-2/R-2.11.0.tar.gz</action> 6 <actions architecture="x86_64" os="darwin">
7 <action type="shell_command"> 7 <action type="download_by_url">http://depot.galaxyproject.org/package/darwin/x86_64/R/R-2.11.0-Darwin-x86_64.tgz</action>
8 ./configure --enable-R-shlib \ 8 <action type="move_directory_files">
9 --with-readline=no \ 9 <source_directory>.</source_directory>
10 --with-x=no \ 10 <destination_directory>$INSTALL_DIR/bin</destination_directory>
11 --prefix=$INSTALL_DIR \ 11 </action>
12 --libdir=$INSTALL_DIR/lib \ 12 </actions>
13 --disable-R-framework 13 <actions architecture="x86_64" os="linux">
14 </action> 14 <action type="download_by_url">http://depot.galaxyproject.org/package/linux/x86_64/R/R-2.11.0-Linux-x86_64.tgz</action>
15 <action type="shell_command">make &amp;&amp; make install</action> 15 <action type="move_directory_files">
16 <source_directory>.</source_directory>
17 <destination_directory>$INSTALL_DIR/bin</destination_directory>
18 </action>
19 </actions>
20 <actions>
21 <package name="readline" version="6.2">
22 <repository changeset_revision="f4201ff5aa66" name="package_readline_6_2" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
23 </package>
24 <package name="libpng" version="1.6.7">
25 <repository changeset_revision="a0b0e0281cc4" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
26 </package>
27 <package name="cairo" version="1.12.14">
28 <repository changeset_revision="4f7c800b1050" name="package_cairo_1_12_14" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
29 </package>
30 <package name="pixman" version="0.32.4">
31 <repository changeset_revision="bcf53d429118" name="package_pixman_0_32_4" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
32 </package>
33 <package name="freetype" version="2.5.2">
34 <repository changeset_revision="86bbb06ec11b" name="package_freetype_2_5_2" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
35 </package>
36 <action type="set_environment_for_install">
37 <repository changeset_revision="f4201ff5aa66" name="package_readline_6_2" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu">
38 <package name="readline" version="6.2" />
39 </repository>
40 <repository changeset_revision="a0b0e0281cc4" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu">
41 <package name="libpng" version="1.6.7" />
42 </repository>
43 <repository changeset_revision="4f7c800b1050" name="package_cairo_1_12_14" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu">
44 <package name="cairo" version="1.12.14" />
45 </repository>
46 <repository changeset_revision="bcf53d429118" name="package_pixman_0_32_4" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu">
47 <package name="pixman" version="0.32.4" />
48 </repository>
49 <repository changeset_revision="86bbb06ec11b" name="package_freetype_2_5_2" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu">
50 <package name="freetype" version="2.5.2" />
51 </repository>
52 </action>
53 <action type="shell_command">
54 export LDFLAGS="-L$PNG_LIBS -L$READLINE_LIBS" &amp;&amp;
55 export LDFLAGS="$LDFLAGS -Wl,-rpath,$READLINE_LIBS" &amp;&amp;
56 export LDFLAGS="$LDFLAGS -Wl,-rpath,$PIXMAN_LIB_PATH" &amp;&amp;
57 export LDFLAGS="$LDFLAGS -Wl,-rpath,$PNG_LIB_PATH" &amp;&amp;
58 export LDFLAGS="$LDFLAGS -Wl,-rpath,$FREETYPE_LIB_PATH" &amp;&amp;
59 export CFLAGS="-I$PNG_INCLUDES -I$READLINE_INCLUDES" &amp;&amp;
60 export CXXFLAGS="-I$PNG_INCLUDES -I$READLINE_INCLUDES" &amp;&amp;
61 export CPPFLAGS="-I$PNG_INCLUDES -I$READLINE_INCLUDES" &amp;&amp;
62 ./configure --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 's;$INSTALL_DIR;\${R_ROOT_DIR};g' $INSTALL_DIR/bin/R</action>
75 </actions>
16 <action type="set_environment"> 76 <action type="set_environment">
77 <environment_variable action="set_to" name="R_ROOT_DIR">$INSTALL_DIR</environment_variable>
17 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable> 78 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable>
18 <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable> 79 <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable>
19 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/lib/R/bin</environment_variable> 80 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/lib/R/bin</environment_variable>
20 </action> 81 </action>
21 </actions> 82 </actions_group>
22 </install> 83 </install>
23 <readme> 84 <readme>
85 The precompiled Linux version of this package was built 2014-02-28.
86 The precompiled OSX version of this package was built 2014-03-03.
24 R is a free software environment for statistical computing and graphics. 87 R is a free software environment for statistical computing and graphics.
25 NOTE: See custom compilation options above 88 NOTE: See custom compilation options above
26 </readme> 89 </readme>
27 </package> 90 </package>
28 </tool_dependency> 91 </tool_dependency>