struct

Bootstrap::SysrootBuilder::PackageSpec

Inherits Struct < Value < Object

Constructors

new(name : String, version : String, url : URI, sha256 : String | Nil = nil, checksum_url : URI | Nil = nil, phases : Array(String) | Nil = nil, configure_flags : Array(String) = [] of String, build_directory : String | Nil = nil, build_dir : String | Nil = nil, strategy : String = "autotools", patches : Array(String) = [] of String, extra_urls : Array(URI) = [] of URI)
Source

Instance methods

all_urls

Return the canonical URL list: primary URL plus any extras.

Source
build_dir

Optional out-of-tree build directory template. Supports %{phase} and %{name}.

build_directory
checksum_url
clone
Source
configure_flags
copy_with(name _name = @name, version _version = @version, url _url = @url, sha256 _sha256 = @sha256, checksum_url _checksum_url = @checksum_url, phases _phases = @phases, configure_flags _configure_flags = @configure_flags, build_directory _build_directory = @build_directory, build_dir _build_dir = @build_dir, strategy _strategy = @strategy, patches _patches = @patches, extra_urls _extra_urls = @extra_urls)
Source
extra_urls
filename

Prefer a filename that includes the package name for clarity.

Source
filename_for(uri : URI) : String

Return the preferred filename for an arbitrary uri.

Source
name
patches
phases
sha256
strategy
url
version