2011-06-19 11:59:14 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Swig < Formula
|
|
|
|
homepage 'http://www.swig.org/'
|
2012-06-11 10:11:52 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/swig/swig/swig-2.0.7/swig-2.0.7.tar.gz'
|
|
|
|
sha1 '307020fb6437092e32c9c1bd9af8bccb1645b529'
|
2011-06-19 11:59:14 +00:00
|
|
|
|
|
|
|
depends_on 'pcre'
|
|
|
|
|
|
|
|
def install
|
2012-06-11 10:11:52 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2011-06-19 11:59:14 +00:00
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|