homebrew-core/Formula/swig.rb

20 lines
474 B
Ruby
Raw Normal View History

require 'formula'
class Swig < Formula
homepage 'http://www.swig.org/'
url 'http://downloads.sourceforge.net/project/swig/swig/swig-2.0.8/swig-2.0.8.tar.gz'
sha1 '763305da320163903c69c1cdfbf9a942117d9ace'
2012-08-10 04:48:41 +00:00
option :universal
2012-08-10 04:48:41 +00:00
depends_on 'pcre'
def install
2012-08-10 04:48:41 +00:00
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
system "make install"
end
end