Commit 72a5dc50 authored by Tivs's avatar Tivs

Add support for iojs v2.1.0

parent 8f408534
require 'package'
class Iojs < Package
version '2.1.0'
source_url 'https://iojs.org/dist/v2.1.0/iojs-v2.1.0.tar.gz'
source_sha1 '3236518f6e16334d0ed4c40b075625a0bb04086d'
depends_on 'buildessential'
depends_on 'python27'
def self.build
# These are needed for iojs to install
system "sudo ln -s /usr/local/bin/gcc /usr/local/bin/cc"
system "./configure"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
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