Mercurial > repos > deepakjadmin > package_r_3_1_3_test4
comparison tool_dependencies.xml @ 0:6064df1a2302 draft default tip
Uploaded
author | deepakjadmin |
---|---|
date | Fri, 18 Sep 2015 09:16:33 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6064df1a2302 |
---|---|
1 <?xml version="1.0"?> | |
2 <tool_dependency> | |
3 <package name="R" version="3.1.3"> | |
4 <install version="1.0"> | |
5 <actions_group> | |
6 <actions architecture="x86_64" os="linux"> | |
7 <action type="download_by_url">http://cran.us.r-project.org/src/base/R-3/R-3.1.3.tar.gz</action> | |
8 <action type="move_file"> | |
9 <source>R.3.1.3</source> | |
10 <destination>$INSTALL_DIR/bin</destination> | |
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.us.r-project.org/src/base/R-3/R-3.1.3.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 <package name="ncurses" version="5.9"> | |
35 <repository name="package_ncurses_5_9" owner="iuc" prior_installation_required="True" /> | |
36 </package> | |
37 <action type="set_environment_for_install"> | |
38 <repository name="package_readline_6_2" owner="iuc" prior_installation_required="True" > | |
39 <package name="readline" version="6.2" /> | |
40 </repository> | |
41 <repository name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" > | |
42 <package name="libpng" version="1.6.7" /> | |
43 </repository> | |
44 <repository name="package_cairo_1_12_14" owner="devteam" prior_installation_required="True" > | |
45 <package name="cairo" version="1.12.14" /> | |
46 </repository> | |
47 <repository name="package_pixman_0_32_4" owner="devteam" prior_installation_required="True" > | |
48 <package name="pixman" version="0.32.4" /> | |
49 </repository> | |
50 <repository name="package_freetype_2_5_2" owner="devteam" prior_installation_required="True" > | |
51 <package name="freetype" version="2.5.2" /> | |
52 </repository> | |
53 <repository name="package_ncurses_5_9" owner="iuc" prior_installation_required="True" > | |
54 <package name="ncurses" version="5.9" /> | |
55 </repository> | |
56 </action> | |
57 <action type="shell_command"> | |
58 export LDFLAGS="-L$PNG_LIBS -L$NCURSES_LIB_PATH -L$READLINE_LIB_PATH" && | |
59 export LDFLAGS="$LDFLAGS -Wl,-rpath,$NCURSES_LIB_PATH" && | |
60 export LDFLAGS="$LDFLAGS -Wl,-rpath,$READLINE_LIB_PATH" && | |
61 export LDFLAGS="$LDFLAGS -Wl,-rpath,$PIXMAN_LIB_PATH" && | |
62 export LDFLAGS="$LDFLAGS -Wl,-rpath,$PNG_LIB_PATH" && | |
63 export LDFLAGS="$LDFLAGS -Wl,-rpath,$FREETYPE_LIB_PATH" && | |
64 export CFLAGS="-I$PNG_INCLUDES -I$NCURSES_INCLUDE_PATH -I$READLINE_INCLUDE_PATH" && | |
65 export CXXFLAGS="-I$PNG_INCLUDES -I$NCURSES_INCLUDE_PATH -I$READLINE_INCLUDE_PATH" && | |
66 export CPPFLAGS="-I$PNG_INCLUDES -I$NCURSES_INCLUDE_PATH -I$READLINE_INCLUDE_PATH" && | |
67 ./configure --with-tcltk \ | |
68 --with-blas \ | |
69 --with-lapack \ | |
70 --with-readline \ | |
71 --with-cairo \ | |
72 --with-libpng \ | |
73 --without-x \ | |
74 --enable-R-shlib \ | |
75 --disable-R-framework \ | |
76 --libdir=$INSTALL_DIR/lib \ | |
77 --prefix=$INSTALL_DIR | |
78 | |
79 | |
80 </action> | |
81 <action type="shell_command">make</action> | |
82 <action type="shell_command">make install</action> | |
83 <action type="shell_command">sed -i.bak 's;$INSTALL_DIR;\${R_ROOT_DIR};g' $INSTALL_DIR/bin/R</action> | |
84 <action type="shell_command">sed -i.bak 's;$INSTALL_DIR;\${R_ROOT_DIR};g' $INSTALL_DIR/lib/R/bin/R</action> | |
85 </actions> | |
86 <action type="set_environment"> | |
87 <environment_variable action="set_to" name="R_DOC_DIR">$INSTALL_DIR/lib/R/doc</environment_variable> | |
88 <environment_variable action="set_to" name="R_HOME_DIR">$INSTALL_DIR/lib/R</environment_variable> | |
89 <environment_variable action="set_to" name="R_INCLUDE_DIR">$INSTALL_DIR/lib/R/include</environment_variable> | |
90 <environment_variable action="set_to" name="R_SHARE_DIR">$INSTALL_DIR/lib/R/share</environment_variable> | |
91 <environment_variable action="set_to" name="R_ROOT_DIR">$INSTALL_DIR</environment_variable> | |
92 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable> | |
93 <environment_variable action="set_to" name="RHOME">$INSTALL_DIR/lib/R</environment_variable> | |
94 <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable> | |
95 <environment_variable action="set_to" name="PKG_CONFIG_DIR">$INSTALL_DIR/lib/pkgconfig:$INSTALL_DIR/share/pkgconfig</environment_variable> | |
96 <environment_variable action="set_to" name="PKG_CONFIG_PATH">$INSTALL_DIR/lib/pkgconfig:$INSTALL_DIR/share/pkgconfig</environment_variable> | |
97 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> | |
98 </action> | |
99 </actions_group> | |
100 </install> | |
101 <readme> | |
102 R-3.1.3 and caret installation . | |
103 </readme> | |
104 </package> | |
105 </tool_dependency> |