25 lines
949 B
Ruby
25 lines
949 B
Ruby
class Unifdef < Formula
|
|
desc "Selectively process conditional C preprocessor directives"
|
|
homepage "http://dotat.at/prog/unifdef/"
|
|
url "http://dotat.at/prog/unifdef/unifdef-2.11.tar.gz"
|
|
sha256 "e8483c05857a10cf2d5e45b9e8af867d95991fab0f9d3d8984840b810e132d98"
|
|
head "https://github.com/fanf2/unifdef.git"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "be948ffc760273a09943faa7c156e4014534da82c78bc2c3c4f2a4a4416e962e" => :sierra
|
|
sha256 "a89e5cc9b179fa5135077ad0c27e34cebe13a33dc02adccab4969855ba173357" => :el_capitan
|
|
sha256 "3277bf0977c385e3cf5ccf3355e11f30b057c58d8539a27d5a23531ce7de9542" => :yosemite
|
|
sha256 "8533d1ce7b70e51256a3c24d557345b7b7ac0b7e6562de5a0f942c058ae518db" => :mavericks
|
|
end
|
|
|
|
keg_only :provided_by_osx, "the unifdef provided by Xcode cannot compile gevent"
|
|
|
|
def install
|
|
system "make", "prefix=#{prefix}", "install"
|
|
end
|
|
|
|
test do
|
|
pipe_output("#{bin}/unifdef", "echo ''")
|
|
end
|
|
end
|