homebrew-core/Formula/swig.rb
2012-08-09 21:48:41 -07:00

19 lines
474 B
Ruby

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'
option :universal
depends_on 'pcre'
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
system "make install"
end
end