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