diff options
| author | Paul J. Davis | 2009-11-14 23:09:23 -0500 |
|---|---|---|
| committer | Max Howell | 2009-12-05 17:55:40 +0000 |
| commit | 85618f8491a198bd3e50064b6d870ecdfa39befc (patch) | |
| tree | 3cc782be9862d22adb55dd45b68e55e13dec2c63 /Library/Formula | |
| parent | 641355f08ced6adf7acc684b556d2c5abbe2c1eb (diff) | |
| download | homebrew-85618f8491a198bd3e50064b6d870ecdfa39befc.tar.bz2 | |
New formula for Google's V8 JavaScript engine.
The visibility=default flag will cause me nightmares.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/v8.rb | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/Library/Formula/v8.rb b/Library/Formula/v8.rb index 611bd2bc4..978b5d2e4 100644 --- a/Library/Formula/v8.rb +++ b/Library/Formula/v8.rb @@ -2,15 +2,23 @@ require 'formula' require 'hardware' class V8 <Formula - head 'git://github.com/v8/v8.git' + head 'http://v8.googlecode.com/svn/trunk/' homepage 'http://code.google.com/p/v8/' depends_on 'scons' def install arch = Hardware.is_64_bit? ? 'x64' : 'ia32' - system 'scons', "-j #{Hardware.processor_count}", 'mode=release', 'snapshot=on', "arch=#{arch}", 'sample=shell' - system 'scons', "-j #{Hardware.processor_count}", 'mode=release', 'snapshot=on', "arch=#{arch}", 'library=shared' + + system "scons", + "-j #{Hardware.processor_count}", + "arch=#{arch}", + "mode=release", + "snapshot=on", + "library=shared", + "visibility=default", + "console=readline", + "sample=shell" include.install(Dir['include/*']) lib.install(Dir['libv8.*']) |
