aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-09 20:58:43 -0800
committerAdam Vandenberg2012-02-09 20:58:43 -0800
commit009ddffaa0eff03a474fa65e5087c0f59f73187b (patch)
tree73632c8d5e18021f97b7bdb6fc685080315640de
parent9f43cf9132507cb7d44a7904e62c6ffc63a2e491 (diff)
downloadhomebrew-009ddffaa0eff03a474fa65e5087c0f59f73187b.tar.bz2
v8 3.8.9
-rw-r--r--Library/Formula/v8.rb14
1 files changed, 8 insertions, 6 deletions
diff --git a/Library/Formula/v8.rb b/Library/Formula/v8.rb
index 3580f80f6..e28f29403 100644
--- a/Library/Formula/v8.rb
+++ b/Library/Formula/v8.rb
@@ -1,10 +1,12 @@
require 'formula'
class V8 < Formula
- head 'https://github.com/v8/v8.git', :using => :git
- url 'https://github.com/v8/v8/tarball/3.7.0'
homepage 'http://code.google.com/p/v8/'
- sha1 "8b22460558b39d0016cf372b08112f3636a08f25"
+ # Use the official github mirror, it is easier to find tags there
+ url 'https://github.com/v8/v8/tarball/3.8.9'
+ sha1 'a99d3d1259f56baeb16b937c315e8fa158eaa7ba'
+
+ head 'https://github.com/v8/v8.git', :using => :git
depends_on 'scons' => :build
@@ -20,10 +22,10 @@ class V8 < Formula
"console=readline",
"sample=shell"
- include.install Dir['include/*']
- lib.install Dir['libv8.*']
+ prefix.install 'include'
+ lib.install 'libv8.dylib'
bin.install 'shell' => 'v8'
- system "install_name_tool -change libv8.dylib #{lib}/libv8.dylib #{bin}/v8"
+ system "install_name_tool", "-change libv8.dylib", "#{lib}/libv8.dylib", "#{bin}/v8"
end
end