summaryrefslogtreecommitdiff
path: root/config/software/asdf_mono.rb
blob: c8f0de0a3d46bd2d6125edb5bcb09badcc6a3726 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name "asdf_mono"

license_file "LICENSE"
license_file "COPYING"
skip_transitive_dependency_licensing true

default_version "6.8.0.123"
source url: "https://download.mono-project.com/sources/mono/mono-#{version}.tar.xz", sha256: "e2e42d36e19f083fc0d82f6c02f7db80611d69767112af353df2f279744a2ac5"

relative_path "mono-#{version}"

dependency "zlib"

build do
  env = with_standard_compiler_flags(with_embedded_path)
  configure_command = [
    "--prefix=#{install_dir}/installs/mono/#{version}",
  ]
  configure(*configure_command, env: env)
  make "-j #{workers}", env: env
  make "-j #{workers} install", env: env
end