homebrew-core/Formula/swig.rb

20 lines
476 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.11/swig-2.0.11.tar.gz'
sha1 'd3bf4e78824dba76bfb3269367f1ae0276b49df9'
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