swig: add head spec (#30762)
This commit is contained in:
parent
2ca05571a9
commit
2cc68089bf
1 changed files with 8 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue