require 'formula' class Jansson < Formula homepage 'http://www.digip.org/jansson/' url 'http://www.digip.org/jansson/releases/jansson-2.3.1.tar.bz2' sha1 'af7497d930423088fa6d0699d84740fffa0c98df' option :universal def install ENV.universal_binary if build.universal? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end end