homebrew-core/Formula/unifdef.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

18 lines
410 B
Ruby

require 'formula'
class Unifdef < Formula
homepage 'http://dotat.at/prog/unifdef/'
url 'http://dotat.at/prog/unifdef/unifdef-2.6.tar.gz'
sha1 '1b9bea1c4abc2c8fa3f90d6340200f9bd6ead6d9'
keg_only :provided_by_osx,
"The unifdef provided by Xcode cannot compile gevent."
def install
system "make", "prefix=#{prefix}", "install"
end
test do
system "echo '' | #{bin}/unifdef"
end
end