homebrew-core/Formula/homebank.rb
orbital-fox 6ae3030ae1 homebank: add optional OFX filetype support.
Closes Homebrew/homebrew#23239.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-13 10:38:29 +01:00

26 lines
670 B
Ruby

require 'formula'
class Homebank < Formula
homepage 'http://homebank.free.fr'
url 'http://homebank.free.fr/public/homebank-4.5.4.tar.gz'
sha1 '0d896a95963a5748216b98062b4e15aa5c94bb85'
depends_on 'pkg-config' => :build
depends_on 'intltool' => :build
depends_on 'gettext'
depends_on 'gtk+'
depends_on 'hicolor-icon-theme'
depends_on :freetype
depends_on :fontconfig
depends_on 'libofx' => :optional
def install
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
end