afflib: modernize autotools deps
parent
26ddf8e8d0
commit
c116f3079a
|
@ -5,18 +5,18 @@ class Afflib < Formula
|
||||||
url 'https://github.com/simsong/AFFLIBv3/archive/v3.7.4.tar.gz'
|
url 'https://github.com/simsong/AFFLIBv3/archive/v3.7.4.tar.gz'
|
||||||
sha1 '589dae6f8439e97ab080026701cd0caa0636ac22'
|
sha1 '589dae6f8439e97ab080026701cd0caa0636ac22'
|
||||||
|
|
||||||
depends_on :autoconf
|
depends_on "autoconf" => :build
|
||||||
depends_on :automake
|
depends_on "automake" => :build
|
||||||
depends_on :libtool
|
depends_on "libtool" => :build
|
||||||
depends_on 'expat' => :optional
|
depends_on "expat" => :optional
|
||||||
depends_on 'osxfuse' => :optional
|
depends_on "osxfuse" => :optional
|
||||||
|
|
||||||
# This patch fixes a bug reported upstream over there
|
# This patch fixes a bug reported upstream over there
|
||||||
# https://github.com/simsong/AFFLIBv3/issues/4
|
# https://github.com/simsong/AFFLIBv3/issues/4
|
||||||
patch :DATA
|
patch :DATA
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "sh bootstrap.sh"
|
system "./bootstrap.sh"
|
||||||
|
|
||||||
args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
|
args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue