require 'formula' class Libyaml < Formula homepage 'http://pyyaml.org/wiki/LibYAML' url 'http://pyyaml.org/download/libyaml/yaml-0.1.5.tar.gz' sha1 '8b78cb9f759c7d80db8a7328c0ebecfe34fde737' option :universal def install ENV.universal_binary if build.universal? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end end