Sha256: 3a3b8889658cae61b369495b67587bc6bcedb3f14cad06206f60a69e405d8a9c

Contents?: true

Size: 1.13 KB

Versions: 11

Compression:

Stored size: 1.13 KB

Contents

spec = Gem::Specification.new do |s|
  s.name = PROJ.name
  s.version = PROJ.version
  s.platform = Gem::Platform::RUBY
  s.has_rdoc = true
  s.extra_rdoc_files = ["README.rdoc", "LICENSE"]
  s.summary = PROJ.summary
  s.description = PROJ.description
  s.authors = Array(PROJ.authors)
  s.email = PROJ.email
  s.homepage = Array(PROJ.url).first
  s.rubyforge_project = PROJ.rubyforge.name
  s.extensions = %w(ext/ffi_c/extconf.rb gen/Rakefile)
  s.require_path = 'lib'
  s.files = PROJ.gem.files
  s.add_dependency *PROJ.gem.dependencies.flatten
end

Rake::ExtensionTask.new('ffi_c', spec) do |ext|
  ext.name = 'ffi_c'                                        # indicate the name of the extension.
  # ext.lib_dir = BUILD_DIR                                 # put binaries into this folder.
  ext.tmp_dir = BUILD_DIR                                   # temporary folder used during compilation.
  ext.cross_compile = true                                  # enable cross compilation (requires cross compile toolchain)
  ext.cross_platform = ['i386-mingw32', 'i386-mswin32']     # forces the Windows platform instead of the default one
end if USE_RAKE_COMPILER

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/ffi-0.6.3/tasks/extension.rake
resque-pool-0.3.0.beta.2 vendor/bundle/ruby/1.8/gems/ffi-0.6.3/tasks/extension.rake
ffi-1.0.1-x86-mingw32 tasks/extension.rake
ffi-1.0.1 tasks/extension.rake
ffi-1.0.0 tasks/extension.rake
ffi-aitrus-0.9.0.beta tasks/extension.rake
ffi-0.6.3-x86-mingw32 tasks/extension.rake
ffi-0.6.3-x86-mswin32 tasks/extension.rake
ffi-0.6.3 tasks/extension.rake
ffi-0.6.2 tasks/extension.rake
ffi-0.6.1 tasks/extension.rake