Class: GNOME2::Rake::ExternalPackage::NativeConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
lib/gnome2/rake/external-package.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(properties) ⇒ NativeConfiguration

Returns a new instance of NativeConfiguration.



414
415
416
417
418
419
# File 'lib/gnome2/rake/external-package.rb', line 414

def initialize(properties)
  super()
  properties.each do |key, value|
    send("#{key}=", value)
  end
end

Instance Attribute Details

#built_fileObject

Returns the value of attribute built_file

Returns:

  • (Object)

    the current value of built_file



407
408
409
# File 'lib/gnome2/rake/external-package.rb', line 407

def built_file
  @built_file
end

#configure_argsObject

Returns the value of attribute configure_args

Returns:

  • (Object)

    the current value of configure_args



407
408
409
# File 'lib/gnome2/rake/external-package.rb', line 407

def configure_args
  @configure_args
end

#patchesObject

Returns the value of attribute patches

Returns:

  • (Object)

    the current value of patches



407
408
409
# File 'lib/gnome2/rake/external-package.rb', line 407

def patches
  @patches
end

Instance Method Details

#build?Boolean

Returns:

  • (Boolean)


421
422
423
# File 'lib/gnome2/rake/external-package.rb', line 421

def build?
  build.nil? ? false : build
end

#build_concurrently?Boolean

Returns:

  • (Boolean)


445
446
447
# File 'lib/gnome2/rake/external-package.rb', line 445

def build_concurrently?
  build_concurrently.nil? ? true : build_concurrently
end

#need_autogen?Boolean

Returns:

  • (Boolean)


437
438
439
# File 'lib/gnome2/rake/external-package.rb', line 437

def need_autogen?
  need_autogen.nil? ? false : need_autogen
end

#need_autoreconf?Boolean

Returns:

  • (Boolean)


441
442
443
# File 'lib/gnome2/rake/external-package.rb', line 441

def need_autoreconf?
  need_autoreconf.nil? ? false : need_autoreconf
end