homebrew-core/Formula/v8.rb
Stefan 2e81674ee3 v8 3.15.11
Closes Homebrew/homebrew#16914.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-05 13:50:15 -08:00

25 lines
714 B
Ruby

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/archive/3.15.11.tar.gz'
sha1 '0c47b3a5409d71d4fd6581520c8972f7451a87e4'
head 'https://github.com/v8/v8.git'
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