mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
18 lines
376 B
Ruby
18 lines
376 B
Ruby
require 'package'
|
|
|
|
class R < Package
|
|
version '3.3.2'
|
|
source_url 'https://cran.rstudio.com/src/base/R-3/R-3.3.2.tar.gz'
|
|
source_sha1 '0e39e9c2d28fe6bab9c55ca23e08ba8727fd2fca'
|
|
|
|
def self.build
|
|
system './configure',
|
|
'--with-x=no' # X is not available
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
|
end
|
|
end
|