Update iojs to v2.4.0 and use CC flag instead of symlink

parent f8c3f2c8
require 'package' require 'package'
class Iojs < Package class Iojs < Package
version '2.3.4' version '2.4.0'
source_url 'https://iojs.org/dist/v2.3.4/iojs-v2.3.4.tar.gz' source_url 'https://iojs.org/dist/v2.4.0/iojs-v2.4.0.tar.gz'
source_sha1 '97639c34ebb951a4655ce8b903fa38a3f0135396' source_sha1 'ec273ab80421126c304a6910d8780cae4cbc1276'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'python27' depends_on 'python27'
def self.build def self.build
# These are needed for iojs to install system "CC='gcc' ./configure"
system "sudo ln -sf /usr/local/bin/gcc /usr/local/bin/cc"
system "./configure"
system "make" system "make"
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment