Skip to content

Instantly share code, notes, and snippets.

@pycckuu
Created May 16, 2014 12:11
Show Gist options
  • Save pycckuu/b5aea3117eeb59275a5d to your computer and use it in GitHub Desktop.
Save pycckuu/b5aea3117eeb59275a5d to your computer and use it in GitHub Desktop.
swig30_brew_formaula
require 'formula'
class Swig < Formula
url 'http://prdownloads.sourceforge.net/swig/swig-3.0.0.tar.gz'
homepage 'http://www.swig.org/'
# md5 '4319c503ee3a13d2a53be9d828c3adc0'
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