forked from messense/homebrew-macos-cross-toolchains
- Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathi686-unknown-linux-gnu.rb
24 lines (21 loc) · 934 Bytes
/
i686-unknown-linux-gnu.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
classI686UnknownLinuxGnu < Formula
desc"i686-unknown-linux-gnu Toolchain"
homepage"https://github.com/EFForg/homebrew-macos-cross-toolchains"
license"GPL-3.0-or-later"=>{with: "GCC-exception-3.1"}
version"13.3.0"
depends_on"bdw-gc"
depends_on"guile"
depends_on"zstd"
depends_on"python@3.12"
ifHardware::CPU.arm?
url"https://github.com/EFForg/homebrew-macos-cross-toolchains/releases/download/v13.3.0/i686-unknown-linux-gnu-aarch64-darwin.tar.gz"
sha256"2be86c0ccb93f8167ff50f851375e62792c600c6d3e6d4bf1619a65094e534c6"
else
url"https://github.com/EFForg/homebrew-macos-cross-toolchains/releases/download/v13.3.0/i686-unknown-linux-gnu-x86_64-darwin.tar.gz"
sha256"12c30a5c0a52f611ba8ccc747e75f2fbe8b8fceddf98cb593ba28a04ec7a139c"
end
definstall
(prefix/"toolchain").installDir["./*"]
Dir.glob(prefix/"toolchain/bin/*"){|file| bin.install_symlinkfile}
end
end