Created
October 31, 2014 17:59
-
-
Save dpo/d6cdc6b8f043fc50b2d4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'formula' | |
| class Swig208 < Formula | |
| homepage 'http://www.swig.org/' | |
| url 'https://downloads.sourceforge.net/project/swig/swig/swig-2.0.8/swig-2.0.8.tar.gz' | |
| sha1 '763305da320163903c69c1cdfbf9a942117d9ace' | |
| conflicts_with "swig", :because => "two different versions of the same utility" | |
| 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment