Class: GNOME2::Rake::ExternalPackage

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

Defined Under Namespace

Classes: NativeConfiguration, WindowsConfiguration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(properties) ⇒ ExternalPackage

Returns a new instance of ExternalPackage.



37
38
39
40
41
42
# File 'lib/gnome2/rake/external-package.rb', line 37

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

Instance Attribute Details

#archive_base_nameObject

Returns the value of attribute archive_base_name

Returns:

  • (Object)

    the current value of archive_base_name



21
22
23
# File 'lib/gnome2/rake/external-package.rb', line 21

def archive_base_name
  @archive_base_name
end

#base_dir_in_packageObject

Returns the value of attribute base_dir_in_package

Returns:

  • (Object)

    the current value of base_dir_in_package



21
22
23
# File 'lib/gnome2/rake/external-package.rb', line 21

def base_dir_in_package
  @base_dir_in_package
end

#base_nameObject

Returns the value of attribute base_name

Returns:

  • (Object)

    the current value of base_name



21
22
23
# File 'lib/gnome2/rake/external-package.rb', line 21

def base_name
  @base_name
end

#build_concurrentlyObject

Returns the value of attribute build_concurrently

Returns:

  • (Object)

    the current value of build_concurrently



21
22
23
# File 'lib/gnome2/rake/external-package.rb', line 21

def build_concurrently
  @build_concurrently
end

#bundled_packagesObject

Returns the value of attribute bundled_packages

Returns:

  • (Object)

    the current value of bundled_packages



21
22
23
# File 'lib/gnome2/rake/external-package.rb', line 21

def bundled_packages
  @bundled_packages
end

#compression_methodObject

Returns the value of attribute compression_method

Returns:

  • (Object)

    the current value of compression_method



21
22
23
# File 'lib/gnome2/rake/external-package.rb', line 21

def compression_method
  @compression_method
end

#download_base_urlObject

Returns the value of attribute download_base_url

Returns:

  • (Object)

    the current value of download_base_url



21
22
23
# File 'lib/gnome2/rake/external-package.rb', line 21

def download_base_url
  @download_base_url
end

#download_siteObject

Returns the value of attribute download_site

Returns:

  • (Object)

    the current value of download_site



21
22
23
# File 'lib/gnome2/rake/external-package.rb', line 21

def download_site
  @download_site
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



21
22
23
# File 'lib/gnome2/rake/external-package.rb', line 21

def label
  @label
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



21
22
23
# File 'lib/gnome2/rake/external-package.rb', line 21

def name
  @name
end

#nativeObject

Returns the value of attribute native

Returns:

  • (Object)

    the current value of native



21
22
23
# File 'lib/gnome2/rake/external-package.rb', line 21

def native
  @native
end

#need_autogenObject

Returns the value of attribute need_autogen

Returns:

  • (Object)

    the current value of need_autogen



21
22
23
# File 'lib/gnome2/rake/external-package.rb', line 21

def need_autogen
  @need_autogen
end

#need_autoreconfObject

Returns the value of attribute need_autoreconf

Returns:

  • (Object)

    the current value of need_autoreconf



21
22
23
# File 'lib/gnome2/rake/external-package.rb', line 21

def need_autoreconf
  @need_autoreconf
end

#patchesObject

Returns the value of attribute patches

Returns:

  • (Object)

    the current value of patches



21
22
23
# File 'lib/gnome2/rake/external-package.rb', line 21

def patches
  @patches
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



21
22
23
# File 'lib/gnome2/rake/external-package.rb', line 21

def version
  @version
end

#windowsObject

Returns the value of attribute windows

Returns:

  • (Object)

    the current value of windows



21
22
23
# File 'lib/gnome2/rake/external-package.rb', line 21

def windows
  @windows
end

Instance Method Details

#archive_urlObject



56
57
58
# File 'lib/gnome2/rake/external-package.rb', line 56

def archive_url
  "#{download_base_url}/#{archive_base_name}"
end

#need_autogen?Boolean

Returns:

  • (Boolean)


68
69
70
# File 'lib/gnome2/rake/external-package.rb', line 68

def need_autogen?
  need_autogen
end

#need_autoreconf?Boolean

Returns:

  • (Boolean)


72
73
74
# File 'lib/gnome2/rake/external-package.rb', line 72

def need_autoreconf?
  need_autoreconf
end