homebrew-core/Formula/unifdef.rb

19 lines
411 B
Ruby
Raw Normal View History

require 'formula'
class Unifdef < Formula
homepage 'http://dotat.at/prog/unifdef/'
2013-01-28 02:59:39 +00:00
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
2013-03-31 06:25:44 +00:00
system "make", "prefix=#{prefix}", "install"
end
def test
system "echo '' | #{bin}/unifdef"
end
end