Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

v8 3.15.11

Closes #16914.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
commit fde63b3d5c615475bdc1055b1973a76ac742e7b8 1 parent daf62f9
Stefan authored klausmeyer committed
Showing with 12 additions and 16 deletions.
  1. +12 −16 Library/Formula/v8.rb
View
28 Library/Formula/v8.rb
@@ -3,27 +3,23 @@
class V8 < Formula
homepage 'http://code.google.com/p/v8/'
# Use the official github mirror, it is easier to find tags there
- url 'https://github.com/v8/v8/tarball/3.9.24'
- sha1 '111bf871bda84e72fdf93f2877d97591b918db2a'
+ url 'https://github.com/v8/v8/archive/3.15.11.tar.gz'
+ sha1 '0c47b3a5409d71d4fd6581520c8972f7451a87e4'
head 'https://github.com/v8/v8.git'
- depends_on 'scons' => :build
-
def install
- arch = Hardware.is_64_bit? ? 'x64' : 'ia32'
-
- system "scons", "-j #{ENV.make_jobs}",
- "arch=#{arch}",
- "mode=release",
- "snapshot=on",
- "library=shared",
- "visibility=default",
- "console=readline",
- "sample=shell"
+ system 'make dependencies'
+ system 'make', 'native',
+ "-j#{ENV.make_jobs}",
+ "library=shared",
+ "snapshot=on",
+ "console=readline"
prefix.install 'include'
- lib.install 'libv8.dylib'
- bin.install 'shell' => 'v8'
+ cd 'out/native' do
+ lib.install Dir['lib*']
+ bin.install 'd8', 'lineprocessor', 'mksnapshot', 'preparser', 'process', 'shell' => 'v8'
+ end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.