changeset 2:0cdd8d3ffebc draft

Uploaded
author fubar
date Fri, 26 Jul 2013 20:48:52 -0400
parents 6e04cd0a5bc3
children 10222a7db54c
files tool_dependencies.xml
diffstat 1 files changed, 8 insertions(+), 30 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Fri Jul 26 20:48:36 2013 -0400
+++ b/tool_dependencies.xml	Fri Jul 26 20:48:52 2013 -0400
@@ -1,40 +1,18 @@
-<?xml version="1.0"?>
 <tool_dependency>
-    <package name="package_r3" version="3.0.1">
+    <package name="ghostscript" version="9.07">
         <install version="1.0">
             <actions>
-                <action type="download_by_url">http://cran.ms.unimelb.edu.au/src/base/R-3/R-3.0.1.tar.gz</action>
-                <action type="set_environment_for_install">
-                    <repository changeset_revision="1301ec7705a8" name="package_readline_6_2" owner="boris" prior_installation_required="True" 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-blas --with-lapack --enable-R-shlib  --with-x=no --prefix=$INSTALL_DIR &amp;&amp; make &amp;&amp; make install</action>
-
-                <action type="download_by_url">http://cran.r-project.org/src/contrib/stringr_0.6.2.tar.gz</action>
-                <action type="shell_command"> export PATH=$INSTALL_DIR/lib/R/bin:$PATH &amp;&amp;
-                export R_HOME=$INSTALL_DIR/lib/R &amp;&amp;
-                export R_LIBS=$INSTALL_DIR/lib/R/library &amp;&amp;
-                R CMD INSTALL stringr_0.6.2.tar.gz -l $INSTALL_DIR </action>
-                <action type="download_by_url">http://cran.r-project.org/src/contrib/gplots_2.11.3.tar.gz</action>
-                <action type="shell_command"> export PATH=$INSTALL_DIR/lib/R/bin:$PATH &amp;&amp;
-                export R_HOME=$INSTALL_DIR/lib/R &amp;&amp;
-                export R_LIBS=$INSTALL_DIR/lib/R/library &amp;&amp;
-                R CMD INSTALL gplots_2.11.3.tar.gz -l $INSTALL_DIR </action>
+                <action type="download_by_url">http://downloads.ghostscript.com/public/ghostscript-9.07.tar.gz</action>
+                <action type="shell_command">./configure --prefix=$INSTALL_DIR</action>
+                <action type="shell_command">make</action>
+                <action type="shell_command">make install</action>
                 <action type="set_environment">
-                    <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable>
-                    <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable>
-                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/lib/R/bin</environment_variable>
+                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                 </action>
             </actions>
         </install>
-        <readme>Modified from an older version of R by Boris by Ross Lazarus for R 3.0
-                Silly having melbourne CRAN hardwired but that's what I test with.
-                Be nice to have interactive variables for fabric installs.
-                R is a free software environment for statistical computing and graphics
-                WARNING: See custom compilation options above
-                Note I've also added some R dependencies                
-       </readme>
+        <readme> ghostscript needed for compressing pdfs
+        </readme>
     </package>
 </tool_dependency>