r: Add HEAD build

This commit is contained in:
Charlie Sharpsteen committed 2012-07-09 10:03:01 -08:00
1 parent 8e5a2047e5
commit 45da101145
1 file changed
+5
+5
View File
@@ -16,6 +16,8 @@ class R < Formula
url 'http://cran.r-project.org/src/base/R-2/R-2.15.1.tar.gz'
sha1 'f0e6912be6dfc0d1fdc4be66048304d8befe8424'
head 'https://svn.r-project.org/R/trunk'
depends_on 'readline'
depends_on 'libtiff'
depends_on 'jpeg'
@@ -41,6 +43,9 @@ class R < Formula
]
args << '--with-valgrind-instrumentation=2' if valgrind?
# Pull down recommended packages if building from HEAD.
system './tools/rsync-recommended' if ARGV.build_head?
system "./configure", *args
system "make"
ENV.j1 # Serialized installs, please