homebrew-core/Formula/homebank.rb
aas d26beab694 homebank 4.5.5
Closes Homebrew/homebrew#26808.

Signed-off-by: Brett Koonce <koonce@gmail.com>
2014-02-18 11:01:36 -06: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.5.tar.gz'
sha1 '1867c1d1671a3f1ca16f660b8169d5255e440d93'
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