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
-
#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.
165 166 167 168 169 170 |
# File 'lib/gnome2/rake/external-package.rb', line 165 def initialize(properties) super() properties.each do |key, value| send("#{key}=", value) end end |
Instance Attribute Details
#configure_args ⇒ Object
Returns the value of attribute configure_args
159 160 161 |
# File 'lib/gnome2/rake/external-package.rb', line 159 def configure_args @configure_args end |
#patches ⇒ Object
Returns the value of attribute patches
159 160 161 |
# File 'lib/gnome2/rake/external-package.rb', line 159 def patches @patches end |
Instance Method Details
#build? ⇒ Boolean
172 173 174 |
# File 'lib/gnome2/rake/external-package.rb', line 172 def build? build.nil? ? false : build end |
#build_concurrently? ⇒ Boolean
192 193 194 |
# File 'lib/gnome2/rake/external-package.rb', line 192 def build_concurrently? build_concurrently.nil? ? true : build_concurrently end |
#need_autogen? ⇒ Boolean
184 185 186 |
# File 'lib/gnome2/rake/external-package.rb', line 184 def need_autogen? need_autogen.nil? ? false : need_autogen end |
#need_autoreconf? ⇒ Boolean
188 189 190 |
# File 'lib/gnome2/rake/external-package.rb', line 188 def need_autoreconf? need_autoreconf.nil? ? false : need_autoreconf end |