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'
|
2014-08-10 01:21:57 +00:00
|
|
|
url 'http://homebank.free.fr/public/homebank-4.6.3.tar.gz'
|
|
|
|
sha1 '9393f947fca17cbdb31a2bc7fa03f99ced1c6e68'
|
2010-11-20 11:30:16 +00:00
|
|
|
|
2014-03-15 08:25:43 +00:00
|
|
|
bottle do
|
2014-08-10 01:32:02 +00:00
|
|
|
sha1 "03314830a1707ca0c6843258c36b68833d3184ae" => :mavericks
|
|
|
|
sha1 "9a6cf54761025d1cd9d27b422eb7e7f0b0ccf746" => :mountain_lion
|
|
|
|
sha1 "baf50c3378b4b703b53d1d52b92f4f7537994164" => :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'
|
|
|
|
depends_on 'gtk+'
|
|
|
|
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
|
2010-11-20 11:30:16 +00:00
|
|
|
system "chmod +x ./install-sh"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|