File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 1+ class I686UnknownLinuxGnu < Formula
2+ desc "i686 Linux GNU Toolchain"
3+ homepage "https://github.com/messense/homebrew-macos-cross-toolchains"
4+ license "GPL-3.0-or-later" => { with : "GCC-exception-3.1" }
5+
6+ if Hardware ::CPU . arm?
7+ url "https://github.com/messense/homebrew-macos-cross-toolchains/releases/download/v1.2.0/i686-unknown-linux-gnu-aarch64-darwin.tar.gz"
8+ version "10.2.0"
9+ sha256 "7c99ada64c92d427e690d0ff532b7fdfa9f8c63aa5638a64490897554a3c7dfd"
10+ else
11+ url "https://github.com/messense/homebrew-macos-cross-toolchains/releases/download/v1.2.0/i686-unknown-linux-gnu-x86_64-darwin.tar.gz"
12+ version "10.2.0"
13+ sha256 "314ae8ec1edd7d300503bf358a4de8b961b57e4bbd6281d684bd049fcad35b0f"
14+ end
15+
16+ def install
17+ ( prefix /"toolchain" ) . install Dir [ "./*" ]
18+ Dir . glob ( prefix /"toolchain/bin/*" ) { |file | bin . install_symlink file }
19+ end
20+ end
You can’t perform that action at this time.
0 commit comments