require 'formula' class Enet < Formula homepage 'http://enet.bespin.org' url 'http://enet.bespin.org/download/enet-1.3.12.tar.gz' sha1 '5fd9ef590dc7bcff652e99fef3e7241b3a743f25' bottle do cellar :any sha1 "bb8d2a60449d1deb5251dc1442181e7a4d1c766f" => :yosemite sha1 "9982f296c3704e09b2053c40675a3d189a58873d" => :mavericks sha1 "b7d3c7abd1b3cb3fd9761c58a3afd86ee4f08158" => :mountain_lion end def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end end