homebrew-core/Formula/binutils.rb
2014-08-07 18:19:06 +01:00

30 lines
1.1 KiB
Ruby

require 'formula'
class Binutils < Formula
homepage 'http://www.gnu.org/software/binutils/binutils.html'
url 'http://ftpmirror.gnu.org/binutils/binutils-2.24.tar.gz'
mirror 'http://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.gz'
sha1 '1b2bc33003f4997d38fadaa276c1f0321329ec56'
bottle do
sha1 "b411f528adb58ccdf068832b84f35da97e510ec9" => :mavericks
sha1 "506dcb201baa8cf6ffed975c993335f7a48389a1" => :mountain_lion
sha1 "2726d3a479491570b01fd707e14fabf97185271e" => :lion
end
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--program-prefix=g",
"--prefix=#{prefix}",
"--infodir=#{info}",
"--mandir=#{man}",
"--disable-werror",
"--enable-interwork",
"--enable-multilib",
"--enable-64-bit-bfd",
"--enable-targets=all"
system "make"
system "make install"
end
end