summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-02-15 23:02:21 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2015-02-15 23:02:21 -0800
commitce011501f9b0184888ba2b6648fcf6d360f7c404 (patch)
tree4ec4d420411c75f941f62fc5ad28464bff9ae97f
parentb11061f99d9e501f69d6d39bae56f0b69d17eaa1 (diff)
downloadspack-ce011501f9b0184888ba2b6648fcf6d360f7c404.tar.gz
spack-ce011501f9b0184888ba2b6648fcf6d360f7c404.tar.bz2
spack-ce011501f9b0184888ba2b6648fcf6d360f7c404.tar.xz
spack-ce011501f9b0184888ba2b6648fcf6d360f7c404.zip
Add R package.
-rw-r--r--var/spack/packages/R/package.py33
1 files changed, 33 insertions, 0 deletions
diff --git a/var/spack/packages/R/package.py b/var/spack/packages/R/package.py
new file mode 100644
index 0000000000..2e6f65a742
--- /dev/null
+++ b/var/spack/packages/R/package.py
@@ -0,0 +1,33 @@
+from spack import *
+
+class R(Package):
+ """R is 'GNU S', a freely available language and environment for
+ statistical computing and graphics which provides a wide va
+ riety of statistical and graphical techniques: linear and
+ nonlinear modelling, statistical tests, time series analysis,
+ classification, clustering, etc. Please consult the R project
+ homepage for further information."""
+ homepage = "http://www.example.com"
+ url = "http://cran.cnr.berkeley.edu/src/base/R-3/R-3.1.2.tar.gz"
+
+ version('3.1.2', '3af29ec06704cbd08d4ba8d69250ae74')
+
+ depends_on("readline")
+ depends_on("ncurses")
+ depends_on("icu")
+ depends_on("glib")
+ depends_on("zlib")
+ depends_on("libtiff")
+ depends_on("jpeg")
+ depends_on("cairo")
+ depends_on("pango")
+ depends_on("freetype")
+ depends_on("tcl")
+ depends_on("tk")
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix,
+ "--enable-R-shlib",
+ "--enable-BLAS-shlib")
+ make()
+ make("install")