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'
|
2015-04-12 06:27:37 +00:00
|
|
|
url 'http://homebank.free.fr/public/homebank-5.0.1.tar.gz'
|
|
|
|
sha1 '225961be412133b5556986c72de9756f30458efe'
|
2010-11-20 11:30:16 +00:00
|
|
|
|
2014-03-15 08:25:43 +00:00
|
|
|
bottle do
|
2015-04-12 06:41:53 +00:00
|
|
|
sha256 "e86de98bc6300a17d7ecf7502ca59bcecfdb5f5b67631b886917d27c12c34285" => :yosemite
|
|
|
|
sha256 "af4ba7c885c202421c0bdd3571548d89b265fff9bffda2a632e5b08f463d0436" => :mavericks
|
|
|
|
sha256 "e489febaee4d5e18440901bb68c05bd90266804ec3e05053eb92a07309eaedd0" => :mountain_lion
|
2014-03-15 08:25:43 +00:00
|
|
|
end
|
|
|
|
|
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'
|
2015-03-09 02:01:20 +00:00
|
|
|
depends_on 'gtk+3'
|
|
|
|
depends_on 'gnome-icon-theme'
|
2015-04-12 06:27:37 +00:00
|
|
|
depends_on 'hicolor-icon-theme'
|
2014-05-23 15:50:31 +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
|
2015-03-09 02:01:20 +00:00
|
|
|
chmod 0755, "./install-sh"
|
2010-11-20 11:30:16 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|