class GNOME2::Rake::Package - glib2-2.2.5 Documentation

# class GNOME2::Rake::Package

### Attributes

external_packages[W]
name[R]
native[R]
root_dir[R]
windows[R]

### Public Class Methods

new(root_dir) click to toggle source

    # File lib/gnome2/rake/package.rb, line 28
    def initialize(root_dir)
      @root_dir = Pathname.new(root_dir).expand_path
      @name = @root_dir.basename.to_s
      @windows = WindowsConfiguration.new
      @native = NativeConfiguration.new
      @external_packages = []
    end

### Public Instance Methods

download_dir() click to toggle source

    # File lib/gnome2/rake/package.rb, line 48
    def download_dir
      tmp_dir + "download"
    end

external_packages() click to toggle source

    # File lib/gnome2/rake/package.rb, line 56
    def external_packages
      @external_packages.collect do |package|
        ExternalPackage.new(package)
      end
    end

glib2_root_dir() click to toggle source

    # File lib/gnome2/rake/package.rb, line 40
    def glib2_root_dir
      project_root_dir + "glib2"
    end

patches_dir() click to toggle source

    # File lib/gnome2/rake/package.rb, line 52
    def patches_dir
      @root_dir + "patches"
    end

project_root_dir() click to toggle source

    # File lib/gnome2/rake/package.rb, line 36
    def project_root_dir
      @root_dir.parent
    end

tmp_dir() click to toggle source

    # File lib/gnome2/rake/package.rb, line 44
    def tmp_dir
      @root_dir + "tmp"
    end