2011-08-29 23:54:40 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Unifdef < Formula
|
|
|
|
url 'http://dotat.at/prog/unifdef/unifdef-2.6.tar.gz'
|
|
|
|
homepage 'http://dotat.at/prog/unifdef/'
|
|
|
|
md5 '18b832baea2c7b6b00bd7d4f3db38f62'
|
|
|
|
|
2011-08-31 00:17:36 +00:00
|
|
|
keg_only :provided_by_osx,
|
|
|
|
"The unifdef provided by Xcode cannot compile gevent."
|
|
|
|
|
2011-08-29 23:54:40 +00:00
|
|
|
def install
|
|
|
|
system "make prefix=#{prefix} install"
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
2011-09-01 20:00:28 +00:00
|
|
|
system "echo '' | #{bin}/unifdef"
|
2011-08-29 23:54:40 +00:00
|
|
|
end
|
|
|
|
end
|