Created
December 24, 2015 06:42
-
-
Save xiw/afc78d4e80e2bfc6b98c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class X8664UnknownLinuxGnuBinutils < Formula | |
desc "FSF Binutils for x86_64-unknown-linux-gnu development" | |
homepage "https://www.gnu.org/software/binutils/binutils.html" | |
url "http://ftpmirror.gnu.org/binutils/binutils-2.25.1.tar.gz" | |
mirror "https://ftp.gnu.org/gnu/binutils/binutils-2.25.1.tar.gz" | |
sha256 "82a40a37b13a12facb36ac7e87846475a1d80f2e63467b1b8d63ec8b6a2b63fc" | |
def install | |
args = [ | |
"--prefix=#{prefix}", | |
"--disable-werror", | |
"--disable-nls", | |
"--target=x86_64-unknown-linux-gnu" | |
] | |
system "./configure", *args | |
system "make" | |
system "make", "install" | |
info.rmtree | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment