6ae3030ae1
Closes Homebrew/homebrew#23239. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
26 lines
670 B
Ruby
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
|