Class: GNOME2::Rake::ExternalPackage::NativeConfiguration
- Inherits:
-
Struct
- Object
- Struct
- GNOME2::Rake::ExternalPackage::NativeConfiguration
- Defined in:
- lib/gnome2/rake/external-package.rb
Instance Attribute Summary collapse
-
#built_file ⇒ Object
readonly
Returns the value of attribute built_file.
-
#configure_args ⇒ Object
readonly
Returns the value of attribute configure_args.
-
#patches ⇒ Object
readonly
Returns the value of attribute patches.
Instance Method Summary collapse
- #build? ⇒ Boolean
- #build_concurrently? ⇒ Boolean
-
#initialize(properties) ⇒ NativeConfiguration
constructor
A new instance of NativeConfiguration.
- #need_autogen? ⇒ Boolean
- #need_autoreconf? ⇒ Boolean
Constructor Details
#initialize(properties) ⇒ NativeConfiguration
Returns a new instance of NativeConfiguration.
394 395 396 397 398 399 |
# File 'lib/gnome2/rake/external-package.rb', line 394 def initialize(properties) super() properties.each do |key, value| send("#{key}=", value) end end |
Instance Attribute Details
#built_file ⇒ Object
Returns the value of attribute built_file
387 388 389 |
# File 'lib/gnome2/rake/external-package.rb', line 387 def built_file @built_file end |
#configure_args ⇒ Object
Returns the value of attribute configure_args
387 388 389 |
# File 'lib/gnome2/rake/external-package.rb', line 387 def configure_args @configure_args end |
#patches ⇒ Object
Returns the value of attribute patches
387 388 389 |
# File 'lib/gnome2/rake/external-package.rb', line 387 def patches @patches end |
Instance Method Details
#build? ⇒ Boolean
401 402 403 |
# File 'lib/gnome2/rake/external-package.rb', line 401 def build? build.nil? ? false : build end |
#build_concurrently? ⇒ Boolean
425 426 427 |
# File 'lib/gnome2/rake/external-package.rb', line 425 def build_concurrently? build_concurrently.nil? ? true : build_concurrently end |
#need_autogen? ⇒ Boolean
417 418 419 |
# File 'lib/gnome2/rake/external-package.rb', line 417 def need_autogen? need_autogen.nil? ? false : need_autogen end |
#need_autoreconf? ⇒ Boolean
421 422 423 |
# File 'lib/gnome2/rake/external-package.rb', line 421 def need_autoreconf? need_autoreconf.nil? ? false : need_autoreconf end |