aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/v8.rb
diff options
context:
space:
mode:
authorStefan2013-01-05 22:24:07 +0100
committerAdam Vandenberg2013-01-05 13:50:15 -0800
commit6e2cf6b16c181ddff70d6486aee2a675b9ec8671 (patch)
treea11709bc96f569286ea558d6f2b5160dc620c242 /Library/Formula/v8.rb
parentca263f9137e68b14eabf38468d121e180e268ff1 (diff)
downloadhomebrew-6e2cf6b16c181ddff70d6486aee2a675b9ec8671.tar.bz2
v8 3.15.11
Closes #16914. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/v8.rb')
-rw-r--r--Library/Formula/v8.rb28
1 files changed, 12 insertions, 16 deletions
diff --git a/Library/Formula/v8.rb b/Library/Formula/v8.rb
index 9870eba77..188bcaeeb 100644
--- a/Library/Formula/v8.rb
+++ b/Library/Formula/v8.rb
@@ -3,27 +3,23 @@ require 'formula'
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