Sha256: 0493867cdc89abb3d6daebb24cc3b9b25b3e42f178559a89dbb678f3cd93dd0f

Contents?: true

Size: 501 Bytes

Versions: 86

Compression:

Stored size: 501 Bytes

Contents

#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
# See LICENSE.txt for permissions.
#++

class Gem::Ext::ConfigureBuilder < Gem::Ext::Builder

  def self.build(extension, directory, dest_path, results, args=[], lib_dir=nil)
    unless File.exist?('Makefile') then
      cmd = "sh ./configure --prefix=#{dest_path}"
      cmd << " #{args.join ' '}" unless args.empty?

      run cmd, results
    end

    make dest_path, results

    results
  end

end

Version data entries

86 entries across 58 versions & 4 rubygems

Version Path
rb2exe-0.1.43 bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ext/configure_builder.rb
rb2exe-0.1.40 bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ext/configure_builder.rb
rb2exe-0.1.39 bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ext/configure_builder.rb
rb2exe-0.1.38 bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ext/configure_builder.rb
rb2exe-0.1.29 bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ext/configure_builder.rb
rb2exe-0.1.14 bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ext/configure_builder.rb
rb2exe-0.1.12 bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ext/configure_builder.rb
rubygems-update-2.5.1 lib/rubygems/ext/configure_builder.rb
rubygems-update-2.5.0 lib/rubygems/ext/configure_builder.rb
rubygems-update-2.2.5 lib/rubygems/ext/configure_builder.rb
rubygems-update-2.4.8 lib/rubygems/ext/configure_builder.rb
rubygems-update-2.2.4 lib/rubygems/ext/configure_builder.rb
rubygems-update-2.4.7 lib/rubygems/ext/configure_builder.rb
rubygems-update-2.4.6 lib/rubygems/ext/configure_builder.rb
rubygems-update-2.2.3 lib/rubygems/ext/configure_builder.rb
rubygems-update-2.4.5 lib/rubygems/ext/configure_builder.rb
rubygems-update-2.4.4 lib/rubygems/ext/configure_builder.rb
rubygems-update-2.4.3 lib/rubygems/ext/configure_builder.rb
rubygems-update-2.4.2 lib/rubygems/ext/configure_builder.rb
rubygems-update-2.4.1 lib/rubygems/ext/configure_builder.rb