swig: add head spec (#30762)

This commit is contained in:
Daniel Vollmer 2018-08-03 15:52:00 +02:00 committed by ilovezfs
parent 2ca05571a9
commit 2cc68089bf

View file

@ -11,9 +11,17 @@ class Swig < Formula
sha256 "3443dbf17f78be0cecb5419772c71bb418caa91763590072224c196a57317717" => :yosemite sha256 "3443dbf17f78be0cecb5419772c71bb418caa91763590072224c196a57317717" => :yosemite
end end
head do
url "https://github.com/swig/swig.git"
depends_on "automake" => :build
depends_on "autoconf" => :build
end
depends_on "pcre" depends_on "pcre"
def install def install
system "./autogen.sh" if build.head?
system "./configure", "--disable-dependency-tracking", system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}" "--prefix=#{prefix}"
system "make" system "make"