require 'formula' class Swig < Formula homepage 'http://www.swig.org/' url 'http://downloads.sourceforge.net/project/swig/swig/swig-2.0.7/swig-2.0.7.tar.gz' sha1 '307020fb6437092e32c9c1bd9af8bccb1645b529' depends_on 'pcre' def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make" system "make install" end end