Mercurial > repos > iuc > package_r_3_0_1
comparison tool_dependencies.xml @ 4:c5ff6dd33c79 draft
Uploaded
author | iuc |
---|---|
date | Tue, 15 Oct 2013 12:49:04 -0400 |
parents | 7473992d1f38 |
children | 59b82e6e0801 |
comparison
equal
deleted
inserted
replaced
3:7473992d1f38 | 4:c5ff6dd33c79 |
---|---|
11 <repository name="package_readline_6_2" owner="iuc"> | 11 <repository name="package_readline_6_2" owner="iuc"> |
12 <package name="readline" version="6.2" /> | 12 <package name="readline" version="6.2" /> |
13 </repository> | 13 </repository> |
14 </action>--> | 14 </action>--> |
15 | 15 |
16 <action type="template_command" language="cheetah"> | 16 <action type="shell_command"> |
17 #set $cmd = './configure' | 17 ./configure --with-readline=no --enable-R-shlib --with-x=no --libdir=$INSTALL_DIR/lib/ --bindir=$INSTALL_DIR/bin/ --datarootdir=$INSTALL_DIR/share/ |
18 | |
19 #if env.get('READLINE_LIB_PATH', False): | |
20 export LDFLAGS=-L$env.READLINE_LIB_PATH && | |
21 export CPPFLAGS=-I$env.READLINE_INCLUDE_PATH && | |
22 #set $cmd += ' --with-readline=yes ' | |
23 #else: | |
24 #set $cmd += ' --with-readline=no ' | |
25 #end if | |
26 | |
27 #set $cmd += ' --enable-R-shlib --with-x=no --libdir=%s/lib/ --bindir=%s/bin/ --datarootdir=%s/share/' % ($env.INSTALL_DIR, $env.INSTALL_DIR, $env.INSTALL_DIR) | |
28 $cmd | |
29 </action> | 18 </action> |
30 <action type="shell_command">make</action> | 19 <action type="shell_command">make</action> |
31 <action type="shell_command">make install</action> | 20 <action type="shell_command">make install</action> |
32 <action type="set_environment"> | 21 <action type="set_environment"> |
33 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable> | 22 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable> |