2010-11-20 11:30:16 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Homebank < Formula
|
2010-11-20 11:30:16 +00:00
|
|
|
homepage 'http://homebank.free.fr'
|
2013-10-13 09:38:20 +00:00
|
|
|
url 'http://homebank.free.fr/public/homebank-4.5.4.tar.gz'
|
|
|
|
sha1 '0d896a95963a5748216b98062b4e15aa5c94bb85'
|
2010-11-20 11:30:16 +00:00
|
|
|
|
2012-10-27 17:55:30 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2013-02-03 20:40:00 +00:00
|
|
|
depends_on 'intltool' => :build
|
2010-11-20 11:30:16 +00:00
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'gtk+'
|
|
|
|
depends_on 'hicolor-icon-theme'
|
2012-10-27 17:55:30 +00:00
|
|
|
depends_on :freetype
|
|
|
|
depends_on :fontconfig
|
2013-10-13 07:45:41 +00:00
|
|
|
depends_on 'libofx' => :optional
|
2010-11-20 11:30:16 +00:00
|
|
|
|
|
|
|
def install
|
2013-10-13 07:45:41 +00:00
|
|
|
args = ["--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"]
|
|
|
|
args << "--with-ofx" if build.with? 'libofx'
|
|
|
|
|
|
|
|
system "./configure", *args
|
2010-11-20 11:30:16 +00:00
|
|
|
system "chmod +x ./install-sh"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|