Commit bf7fca98 authored by Michał Siwek's avatar Michał Siwek

Merge pull request #112 from Tivoli/tivs/update-node-4-2-2

Tivs/update node 4 2 2
parents aee5de25 377aff98
require 'package'
class Iojs < Package
version '3.3.0'
source_url 'https://iojs.org/dist/v3.3.0/iojs-v3.3.0.tar.gz'
source_sha1 '17c199be74fdcd3f44b70386fb903dc7fbd7402a'
depends_on 'buildessential'
depends_on 'python27'
def self.build
system "CC='gcc' python2.7 ./configure"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Nodejs < Package
version '4.1.2'
source_url 'https://nodejs.org/dist/v4.1.2/node-v4.1.2.tar.gz'
source_sha1 '3c901d7b34cf9cc161f6c3845a576fbf0c91b4c5'
version '4.2.2'
source_url 'https://nodejs.org/dist/v4.2.2/node-v4.2.2.tar.xz'
source_sha1 '3591ea7a464500b68e01a09c293946f73faf8514'
depends_on 'buildessential'
depends_on 'python27'
......
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