Mercurial > repos > bgruening > package_r_3_0_1
view tool_dependencies.xml @ 4:abd431ea5ce0 draft
Uploaded
author | bgruening |
---|---|
date | Wed, 10 Jul 2013 16:38:56 -0400 |
parents | 8dc463c6cbe8 |
children | baa2b5c8c409 |
line wrap: on
line source
<?xml version="1.0"?> <tool_dependency> <package name="atlas" version="3.10.1"> <repository changeset_revision="25dc49b0d6d5" name="package_atlas_3_10" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" /> </package> <package name="readline" version="6.2"> <repository changeset_revision="b936498ae90c" name="package_readline_6_2" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" /> </package> <package name="R_3_0_1" version="3.0.1"> <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="25dc49b0d6d5" name="package_atlas_3_10" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu"> <package name="atlas" version="3.10.1" /> </repository> <repository changeset_revision="b936498ae90c" name="package_readline_6_2" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu"> <package name="readline" version="6.2" /> </repository> </action> <action language="cheetah" type="template_command"> #if env.get('READLINE_LIB_PATH', False): export LDFLAGS=-L$env.READLINE_LIB_PATH && export CPPFLAGS=-I$env.READLINE_INCLUDE_PATH && #end if #set $cmd = './configure' #if env.get('ATLAS_LIB_DIR', False): #set $cmd += ' --with-blas="-L%s -lptf77blas -lpthread -latlas" ' % $env.ATLAS_LIB_DIR #end if #set $cmd += ' --enable-R-shlib --with-x=no --with-readline=yes --prefix=%s ' % $env.INSTALL_DIR $cmd </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="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib/R/lib</environment_variable> </action> </actions> </install> <readme>R is a free software environment for statistical computing and graphics. http://www.r-project.org/</readme> </package> </tool_dependency>