require 'formula' class Czmq < Formula homepage 'http://czmq.zeromq.org/' url 'http://download.zeromq.org/czmq-1.3.1.tar.gz' sha1 '73dea800cf556d66d5a4630bb7f99bd313cc30dc' option :universal depends_on 'zeromq' def install ENV.universal_binary if build.universal? system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end end