Class: GNOME2::Rake::ExternalPackage
- Inherits:
-
Struct
- Object
- Struct
- GNOME2::Rake::ExternalPackage
- Defined in:
- lib/gnome2/rake/external-package.rb
Defined Under Namespace
Classes: NativeConfiguration, WindowsConfiguration
Instance Attribute Summary collapse
-
#archive_base_name ⇒ Object
Returns the value of attribute archive_base_name.
-
#base_name ⇒ Object
Returns the value of attribute base_name.
-
#build_concurrently ⇒ Object
Returns the value of attribute build_concurrently.
-
#bundled_packages ⇒ Object
Returns the value of attribute bundled_packages.
-
#compression_method ⇒ Object
Returns the value of attribute compression_method.
-
#download_base_url ⇒ Object
Returns the value of attribute download_base_url.
-
#download_site ⇒ Object
Returns the value of attribute download_site.
-
#label ⇒ Object
Returns the value of attribute label.
-
#name ⇒ Object
Returns the value of attribute name.
-
#native ⇒ Object
Returns the value of attribute native.
-
#need_autogen ⇒ Object
Returns the value of attribute need_autogen.
-
#need_autoreconf ⇒ Object
Returns the value of attribute need_autoreconf.
-
#patches ⇒ Object
Returns the value of attribute patches.
-
#version ⇒ Object
Returns the value of attribute version.
-
#windows ⇒ Object
Returns the value of attribute windows.
Instance Method Summary collapse
- #archive_url ⇒ Object
-
#initialize(properties) ⇒ ExternalPackage
constructor
A new instance of ExternalPackage.
- #need_autogen? ⇒ Boolean
- #need_autoreconf? ⇒ Boolean
Constructor Details
#initialize(properties) ⇒ ExternalPackage
Returns a new instance of ExternalPackage.
36 37 38 39 40 41 |
# File 'lib/gnome2/rake/external-package.rb', line 36 def initialize(properties) super() properties.each do |key, value| send("#{key}=", value) end end |
Instance Attribute Details
#archive_base_name ⇒ Object
Returns the value of attribute archive_base_name
21 22 23 |
# File 'lib/gnome2/rake/external-package.rb', line 21 def archive_base_name @archive_base_name end |
#base_name ⇒ Object
Returns the value of attribute base_name
21 22 23 |
# File 'lib/gnome2/rake/external-package.rb', line 21 def base_name @base_name end |
#build_concurrently ⇒ Object
Returns the value of attribute build_concurrently
21 22 23 |
# File 'lib/gnome2/rake/external-package.rb', line 21 def build_concurrently @build_concurrently end |
#bundled_packages ⇒ Object
Returns the value of attribute bundled_packages
21 22 23 |
# File 'lib/gnome2/rake/external-package.rb', line 21 def bundled_packages @bundled_packages end |
#compression_method ⇒ Object
Returns the value of attribute compression_method
21 22 23 |
# File 'lib/gnome2/rake/external-package.rb', line 21 def compression_method @compression_method end |
#download_base_url ⇒ Object
Returns the value of attribute download_base_url
21 22 23 |
# File 'lib/gnome2/rake/external-package.rb', line 21 def download_base_url @download_base_url end |
#download_site ⇒ Object
Returns the value of attribute download_site
21 22 23 |
# File 'lib/gnome2/rake/external-package.rb', line 21 def download_site @download_site end |
#label ⇒ Object
Returns the value of attribute label
21 22 23 |
# File 'lib/gnome2/rake/external-package.rb', line 21 def label @label end |
#name ⇒ Object
Returns the value of attribute name
21 22 23 |
# File 'lib/gnome2/rake/external-package.rb', line 21 def name @name end |
#native ⇒ Object
Returns the value of attribute native
21 22 23 |
# File 'lib/gnome2/rake/external-package.rb', line 21 def native @native end |
#need_autogen ⇒ Object
Returns the value of attribute need_autogen
21 22 23 |
# File 'lib/gnome2/rake/external-package.rb', line 21 def need_autogen @need_autogen end |
#need_autoreconf ⇒ Object
Returns the value of attribute need_autoreconf
21 22 23 |
# File 'lib/gnome2/rake/external-package.rb', line 21 def need_autoreconf @need_autoreconf end |
#patches ⇒ Object
Returns the value of attribute patches
21 22 23 |
# File 'lib/gnome2/rake/external-package.rb', line 21 def patches @patches end |
#version ⇒ Object
Returns the value of attribute version
21 22 23 |
# File 'lib/gnome2/rake/external-package.rb', line 21 def version @version end |
#windows ⇒ Object
Returns the value of attribute windows
21 22 23 |
# File 'lib/gnome2/rake/external-package.rb', line 21 def windows @windows end |
Instance Method Details
#archive_url ⇒ Object
55 56 57 |
# File 'lib/gnome2/rake/external-package.rb', line 55 def archive_url "#{download_base_url}/#{archive_base_name}" end |
#need_autogen? ⇒ Boolean
67 68 69 |
# File 'lib/gnome2/rake/external-package.rb', line 67 def need_autogen? need_autogen end |
#need_autoreconf? ⇒ Boolean
71 72 73 |
# File 'lib/gnome2/rake/external-package.rb', line 71 def need_autoreconf? need_autoreconf end |