forked from messense/homebrew-macos-cross-toolchains
- Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmipsel-unknown-linux-gnu.rb
24 lines (21 loc) · 942 Bytes
/
mipsel-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
classMipselUnknownLinuxGnu < Formula
desc"mipsel-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/mipsel-unknown-linux-gnu-aarch64-darwin.tar.gz"
sha256"b1a85172d6db74c210908ac1b8e636533c9ebaa4cf3a21e59b2b11c3a6ca11b8"
else
url"https://github.com/EFForg/homebrew-macos-cross-toolchains/releases/download/v13.3.0/mipsel-unknown-linux-gnu-x86_64-darwin.tar.gz"
sha256"958e3b87d4937f975e38a2b9bd5a508fbf180b141a418fbcce96affbe3f9845c"
end
definstall
(prefix/"toolchain").installDir["./*"]
Dir.glob(prefix/"toolchain/bin/*"){|file| bin.install_symlinkfile}
end
end