Mercurial > repos > iuc > package_r_3_1_1
comparison tool_dependencies.xml @ 0:31c9c5014965 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_r_3_1_1 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
author | iuc |
---|---|
date | Tue, 19 May 2015 15:01:15 -0400 |
parents | |
children | 6bac9a13b6b0 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:31c9c5014965 |
---|---|
1 <?xml version="1.0"?> | |
2 <tool_dependency> | |
3 <package name="R" version="3.1.1"> | |
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.1.1-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> | |
12 <action type="shell_command">sh $INSTALL_DIR/darwin_post_install.sh $INSTALL_DIR</action> | |
13 </actions> | |
14 <actions architecture="x86_64" os="linux"> | |
15 <action type="download_by_url">http://cran.rstudio.com/src/base/R-3/R-3.1.1.tar.gz</action> | |
16 <package name="readline" version="6.2"> | |
17 <repository name="package_readline_6_2" owner="iuc" prior_installation_required="True" /> | |
18 </package> | |
19 <package name="libpng" version="1.6.7"> | |
20 <repository name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" /> | |
21 </package> | |
22 <package name="cairo" version="1.12.14"> | |
23 <repository name="package_cairo_1_12_14" owner="devteam" prior_installation_required="True" /> | |
24 </package> | |
25 <package name="pixman" version="0.32.4"> | |
26 <repository name="package_pixman_0_32_4" owner="devteam" prior_installation_required="True" /> | |
27 </package> | |
28 <package name="freetype" version="2.5.2"> | |
29 <repository name="package_freetype_2_5_2" owner="devteam" prior_installation_required="True" /> | |
30 </package> | |
31 <action type="set_environment"> | |
32 <environment_variable action="set_to" name="TCL_LIBRARY">$INSTALL_DIR/lib/libtcl8.4.so</environment_variable> | |
33 <environment_variable action="set_to" name="TK_LIBRARY">$INSTALL_DIR/lib/libtk8.4.so</environment_variable> | |
34 </action> | |
35 <action type="set_environment_for_install"> | |
36 <repository name="package_readline_6_2" owner="iuc" prior_installation_required="True" > | |
37 <package name="readline" version="6.2" /> | |
38 </repository> | |
39 <repository name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" > | |
40 <package name="libpng" version="1.6.7" /> | |
41 </repository> | |
42 <repository name="package_cairo_1_12_14" owner="devteam" prior_installation_required="True" > | |
43 <package name="cairo" version="1.12.14" /> | |
44 </repository> | |
45 <repository name="package_pixman_0_32_4" owner="devteam" prior_installation_required="True" > | |
46 <package name="pixman" version="0.32.4" /> | |
47 </repository> | |
48 <repository name="package_freetype_2_5_2" owner="devteam" prior_installation_required="True" > | |
49 <package name="freetype" version="2.5.2" /> | |
50 </repository> | |
51 </action> | |
52 <action type="shell_command"> | |
53 export LDFLAGS="-L$PNG_LIBS -L$READLINE_LIB_PATH" && | |
54 export LDFLAGS="$LDFLAGS -Wl,-rpath,$READLINE_LIB_PATH" && | |
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" && | |
58 export CFLAGS="-I$PNG_INCLUDES -I$READLINE_INCLUDE_PATH" && | |
59 export CXXFLAGS="-I$PNG_INCLUDES -I$READLINE_INCLUDE_PATH" && | |
60 export CPPFLAGS="-I$PNG_INCLUDES -I$READLINE_INCLUDE_PATH" && | |
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 -e 's;$INSTALL_DIR;\${R_ROOT_DIR};g' $INSTALL_DIR/bin/R</action> | |
75 <action type="shell_command">sed -i.bak -e 's;$INSTALL_DIR;\${R_ROOT_DIR};g' $INSTALL_DIR/lib/R/bin/R</action> | |
76 </actions> | |
77 <action type="set_environment"> | |
78 <environment_variable action="set_to" name="R_DOC_DIR">$INSTALL_DIR/lib/R/doc</environment_variable> | |
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 Using Rstudio cran which seems to be properly versioned. | |
92 darwin needs work - I have no mac access... | |
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> |