Class: GNOME::Rake::ExternalPackage
- Inherits:
-
Struct
- Object
- Struct
- GNOME::Rake::ExternalPackage
- Defined in:
- lib/gnome/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_dir_in_package ⇒ Object
Returns the value of attribute base_dir_in_package.
-
#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_name ⇒ Object
Returns the value of attribute download_name.
-
#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.
- #latest_version ⇒ Object
- #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/gnome/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
19 20 21 |
# File 'lib/gnome/rake/external-package.rb', line 19 def archive_base_name @archive_base_name end |
#base_dir_in_package ⇒ Object
Returns the value of attribute base_dir_in_package
19 20 21 |
# File 'lib/gnome/rake/external-package.rb', line 19 def base_dir_in_package @base_dir_in_package end |
#base_name ⇒ Object
Returns the value of attribute base_name
19 20 21 |
# File 'lib/gnome/rake/external-package.rb', line 19 def base_name @base_name end |
#build_concurrently ⇒ Object
Returns the value of attribute build_concurrently
19 20 21 |
# File 'lib/gnome/rake/external-package.rb', line 19 def build_concurrently @build_concurrently end |
#bundled_packages ⇒ Object
Returns the value of attribute bundled_packages
19 20 21 |
# File 'lib/gnome/rake/external-package.rb', line 19 def bundled_packages @bundled_packages end |
#compression_method ⇒ Object
Returns the value of attribute compression_method
19 20 21 |
# File 'lib/gnome/rake/external-package.rb', line 19 def compression_method @compression_method end |
#download_base_url ⇒ Object
Returns the value of attribute download_base_url
19 20 21 |
# File 'lib/gnome/rake/external-package.rb', line 19 def download_base_url @download_base_url end |
#download_name ⇒ Object
Returns the value of attribute download_name
19 20 21 |
# File 'lib/gnome/rake/external-package.rb', line 19 def download_name @download_name end |
#download_site ⇒ Object
Returns the value of attribute download_site
19 20 21 |
# File 'lib/gnome/rake/external-package.rb', line 19 def download_site @download_site end |
#label ⇒ Object
Returns the value of attribute label
19 20 21 |
# File 'lib/gnome/rake/external-package.rb', line 19 def label @label end |
#name ⇒ Object
Returns the value of attribute name
19 20 21 |
# File 'lib/gnome/rake/external-package.rb', line 19 def name @name end |
#native ⇒ Object
Returns the value of attribute native
19 20 21 |
# File 'lib/gnome/rake/external-package.rb', line 19 def native @native end |
#need_autogen ⇒ Object
Returns the value of attribute need_autogen
19 20 21 |
# File 'lib/gnome/rake/external-package.rb', line 19 def need_autogen @need_autogen end |
#need_autoreconf ⇒ Object
Returns the value of attribute need_autoreconf
19 20 21 |
# File 'lib/gnome/rake/external-package.rb', line 19 def need_autoreconf @need_autoreconf end |
#patches ⇒ Object
Returns the value of attribute patches
19 20 21 |
# File 'lib/gnome/rake/external-package.rb', line 19 def patches @patches end |
#version ⇒ Object
Returns the value of attribute version
19 20 21 |
# File 'lib/gnome/rake/external-package.rb', line 19 def version @version end |
#windows ⇒ Object
Returns the value of attribute windows
19 20 21 |
# File 'lib/gnome/rake/external-package.rb', line 19 def windows @windows end |
Instance Method Details
#archive_url ⇒ Object
60 61 62 |
# File 'lib/gnome/rake/external-package.rb', line 60 def archive_url "#{download_base_url}/#{archive_base_name}" end |
#latest_version ⇒ Object
104 105 106 107 |
# File 'lib/gnome/rake/external-package.rb', line 104 def latest_version warn("this feature is no longer supported.") nil end |
#need_autogen? ⇒ Boolean
72 73 74 |
# File 'lib/gnome/rake/external-package.rb', line 72 def need_autogen? need_autogen end |
#need_autoreconf? ⇒ Boolean
76 77 78 |
# File 'lib/gnome/rake/external-package.rb', line 76 def need_autoreconf? need_autoreconf end |