Skip to content

Instantly share code, notes, and snippets.

@dannyarcher
Last active August 29, 2015 14:14
Show Gist options
  • Save dannyarcher/ee011edc5b07f6265356 to your computer and use it in GitHub Desktop.
Save dannyarcher/ee011edc5b07f6265356 to your computer and use it in GitHub Desktop.
Homebrew Formula for swig-3.0.2
require 'formula'
class Swig < Formula
url 'http://liquidtelecom.dl.sourceforge.net/project/swig/swig/swig-3.0.2/swig-3.0.2.tar.gz'
homepage 'http://www.swig.org/'
sha1 'e695a14acf39b25f3ea2d7303e23e39dfe284e31'
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