require 'formula' class Check < Formula homepage 'http://check.sourceforge.net/' url 'http://downloads.sourceforge.net/project/check/check/0.9.8/check-0.9.8.tar.gz' sha1 'a75cc89411e24b5d39b7869f8233e19f210de555' option :universal def install ENV.universal_binary if build.universal? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end end