diff options
| author | Chris Thachuk | 2009-10-27 16:02:05 -0700 |
|---|---|---|
| committer | Max Howell | 2009-11-07 18:22:35 +0000 |
| commit | b1cc1c8bd181e0f1413b2060a3addb6b5b6ed3eb (patch) | |
| tree | 15e8ac4b5715fa21f3bd693ccdb1b921e5b959c5 /Library/Formula/binutils.rb | |
| parent | df6229bb7c741bfca8919172ac591e03f0abe39f (diff) | |
| download | homebrew-b1cc1c8bd181e0f1413b2060a3addb6b5b6ed3eb.tar.bz2 | |
GNU Binutils formula.
The GNU Binutils are a collection of binary tools.
Diffstat (limited to 'Library/Formula/binutils.rb')
| -rw-r--r-- | Library/Formula/binutils.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/binutils.rb b/Library/Formula/binutils.rb new file mode 100644 index 000000000..771a7eb72 --- /dev/null +++ b/Library/Formula/binutils.rb @@ -0,0 +1,20 @@ +require 'formula' + +class Binutils <Formula + url 'http://ftp.gnu.org/gnu/binutils/binutils-2.20.tar.gz' + homepage 'http://www.gnu.org/software/binutils/binutils.html' + md5 'e99487e0c4343d6fa68b7c464ff4a962' + + def install + ENV['CPPFLAGS']="#{ENV['CPPFLAGS']} -I${prefix}/include" + system "./configure", "--prefix=#{prefix}", \ + "--disable-debug", \ + "--disable-dependency-tracking", \ + "--infodir=#{prefix}/share/info", \ + "--mandir=#{prefix}/share/man", \ + "--disable-werror", \ + "--program-prefix=g" + system "make" + system "make install" + end +end |
