changeset 1:a648460aa764 draft

added GNU readline dependency to the xml
author boris
date Wed, 05 Jun 2013 13:39:13 -0400
parents 0eb8a25c2c00
children ff26ae313d4d
files tool_dependencies.xml
diffstat 1 files changed, 11 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Mon Jun 03 23:46:42 2013 -0400
+++ b/tool_dependencies.xml	Wed Jun 05 13:39:13 2013 -0400
@@ -1,13 +1,21 @@
 <tool_dependency>
+    <package name="readline" version="6.2">
+        <repository changeset_revision="7c94649a1f86" name="package_readline_6_2" owner="boris" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu/"/>
+    </package>
     <package name="R" version="2.15.0">
         <install version="1.0">
             <actions>
                 <action type="download_by_url">http://cran.rstudio.com/src/base/R-2/R-2.15.0.tar.gz</action>
+                <action type="set_environment_for_install">
+                    <repository changeset_revision="7c94649a1f86" name="package_readline_6_2" owner="boris" toolshed="http://testtoolshed.g2.bx.psu.edu/">
+                        <package name="readline" version="6.2"/>
+                    </repository>
+                </action>
                 <action type="make_directory">$INSTALL_DIR</action>
-                <action type="shell_command">./configure --with-readline=no --enable-R-shlib -with-x=no --prefix=$INSTALL_DIR &amp;&amp; make &amp;&amp; make install</action>
+                <action type="shell_command">./configure --enable-R-shlib -with-x=no --prefix=$INSTALL_DIR &amp;&amp; make &amp;&amp; make install</action>
                 <action type="set_environment">
-                    <environment_variable name="R_HOME" action="set_to">$INSTALL_DIR</environment_variable>
-                    <environment_variable name="R_LIBS" action="set_to">$INSTALL_DIR/lib</environment_variable>
+                    <environment_variable name="R_HOME" action="prepend_to">$INSTALL_DIR</environment_variable>
+                    <environment_variable name="R_LIBS" action="prepend_to">$INSTALL_DIR/lib</environment_variable>
                 </action>
             </actions>
         </install>