Last active
October 23, 2015 22:37
-
-
Save merqlove/b9b0fa1411d8476fc1a0 to your computer and use it in GitHub Desktop.
Swig
This file contains 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 Swig < Formula | |
url 'http://downloads.sourceforge.net/project/swig/swig/swig-2.0.4/swig-2.0.4.tar.gz' | |
homepage 'http://www.swig.org/' | |
sha256 '763a117730d26f8e5ed67f5718c6c0761fbb8461680fc20269db8c0839e1ec8a' | |
depends_on 'pcre' | |
def install | |
system "./configure", "--disable-debug", "--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