forked from lotia/homebrew-versions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathv8-315.rb
30 lines (26 loc) · 1015 Bytes
/
v8-315.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
class V8315 < Formula
homepage "https://code.google.com/p/v8/"
url "https://github.com/v8/v8-git-mirror/archive/3.15.11.18.tar.gz"
sha256 "93a4945a550e5718d474113d9769a3c010ba21e3764df8f22932903cd106314d"
bottle do
cellar :any
revision 1
sha256 "e3fbc94e5599418c351359a77c335beab824e99ebe8006379e97097694a18607" => :el_capitan
sha256 "a540a1bb558076d45666623814645c5b1f03c96dee0b0a21d02c63f68fdee8a1" => :yosemite
sha256 "33b48defef5c8e5f39c6bf20b0f85f6488c4e8282a9d5be38746907f035c4723" => :mavericks
end
keg_only "Conflicts with V8 in Homebrew/homebrew."
def install
system "make", "dependencies"
system "make", "native",
"-j#{ENV.make_jobs}",
"library=shared",
"snapshot=on",
"console=readline"
prefix.install "include"
cd "out/native" do
lib.install Dir["lib*"]
bin.install "d8", "lineprocessor", "mksnapshot", "preparser", "process", "shell" => "v8"
end
end
end