comparison tool_dependencies.xml @ 0:7cb487a32bde draft

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