2011-08-29 23:54:40 +00:00
|
|
|
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'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '1b9bea1c4abc2c8fa3f90d6340200f9bd6ead6d9'
|
2011-08-29 23:54:40 +00:00
|
|
|
|
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
|
2012-05-15 18:31:21 +00:00
|
|
|
system "make", "PREFIX=#{prefix}", "install"
|
2011-08-29 23:54:40 +00:00
|
|
|
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
|