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