mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00

therubyracer now delegates all lookup for its v8 compilation dependencies to the libv8 gem. if you pass the --with-system-v8 flag to the libv8 gem on install, try to configure therubyracer upon compile with the following options. --with-v8-include, --with-v8-lib and --with-v8-dir Otherwise, it will configure therubyracer to use its own vendored version of v8.
31 lines
1 KiB
Ruby
31 lines
1 KiB
Ruby
# -*- encoding: utf-8 -*-
|
|
$:.unshift File.expand_path("../lib", __FILE__)
|
|
require "libv8/version"
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = "libv8"
|
|
s.version = Libv8::VERSION
|
|
s.platform = Gem::Platform::RUBY
|
|
s.authors = ["Charles Lowell"]
|
|
s.email = ["cowboyd@thefrontside.net"]
|
|
s.homepage = "http://github.com/cowboyd/libv8"
|
|
s.summary = %q{Distribution of the V8 JavaScript engine}
|
|
s.description = %q{Distributes the V8 JavaScript engine in binary and source forms in order to support fast builds of The Ruby Racer}
|
|
|
|
s.rubyforge_project = "libv8"
|
|
|
|
|
|
s.files = `git ls-files`.split("\n")
|
|
s.files += Dir.chdir("vendor/v8") do
|
|
`git ls-files`.split("\n").reject {|f| f =~ /^out/}.map {|f| "vendor/v8/#{f}"}
|
|
end
|
|
s.files += Dir['vendor/v8/build/**/*']
|
|
|
|
s.extensions = ["ext/libv8/extconf.rb"]
|
|
s.require_paths = ["lib", "ext"]
|
|
|
|
s.add_development_dependency "rake"
|
|
s.add_development_dependency "rake-compiler"
|
|
s.add_development_dependency "rspec"
|
|
s.add_development_dependency "rspec-spies"
|
|
end
|