homebank: add optional OFX filetype support.
Closes Homebrew/homebrew#23239. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
0f3a692376
commit
6ae3030ae1
1 changed files with 6 additions and 2 deletions
|
@ -12,10 +12,14 @@ class Homebank < Formula
|
|||
depends_on 'hicolor-icon-theme'
|
||||
depends_on :freetype
|
||||
depends_on :fontconfig
|
||||
depends_on 'libofx' => :optional
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
args = ["--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"]
|
||||
args << "--with-ofx" if build.with? 'libofx'
|
||||
|
||||
system "./configure", *args
|
||||
system "chmod +x ./install-sh"
|
||||
system "make install"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue