diff options
| author | orbital-fox | 2013-10-13 10:45:41 +0300 |
|---|---|---|
| committer | Mike McQuaid | 2013-10-13 10:38:29 +0100 |
| commit | 7e1dbcaf83ff9a0b5e6c5ab4374329f15d29f3e1 (patch) | |
| tree | 57efbf221d7947ed96f2e4bf88c7892b3b7ea84d /Library/Formula | |
| parent | 15c8d51a6be43b5183e7ef4268a225dfbeef8902 (diff) | |
| download | homebrew-7e1dbcaf83ff9a0b5e6c5ab4374329f15d29f3e1.tar.bz2 | |
homebank: add optional OFX filetype support.
Closes #23239.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/homebank.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/homebank.rb b/Library/Formula/homebank.rb index e3414b875..7d64a18b7 100644 --- a/Library/Formula/homebank.rb +++ b/Library/Formula/homebank.rb @@ -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 |
