homebrew-core/Formula/bwm-ng.rb
Martin Wilhelmi e034f26230 don't use clang 3.1 for bwm-ng
Closes Homebrew/homebrew#10365.

Signed-off-by: Max Howell <max@methylblue.com>
2012-02-21 10:39:37 +00:00

17 lines
506 B
Ruby

require 'formula'
class BwmNg < Formula
url 'http://www.gropp.org/bwm-ng/bwm-ng-0.6.tar.gz'
homepage 'http://www.gropp.org/?id=projects&sub=bwm-ng'
md5 'd3a02484fb7946371bfb4e10927cebfb'
def install
if MacOS.default_compiler == :clang
# auto-retest next clang version, submit patch if fails!
ENV.llvm if MacOS.clang_version.to_f <= 3.1
end
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end