blob: d2d9b9ba69ddb7bf91648599eb3e3f690976de58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
require 'formula'
class Homebank < Formula
homepage 'http://homebank.free.fr'
url 'http://homebank.free.fr/public/homebank-5.0.0.tar.gz'
sha1 'b56659fa0b8c44c6f75b77e87ef22c6239b12b28'
bottle do
sha256 "a686d413e57162925b9600e03adb8f02f395b177ae84849d18a454a3e3d7ec19" => :yosemite
sha256 "262149448eb43781445fa392379d5b85ff4451dfe7bccaaba9e1cfafbe86fb63" => :mavericks
sha256 "898eaa8859226245bc8f3e3712bf4aad7e062fddee1a9548e119f9317f1792b4" => :mountain_lion
end
depends_on 'pkg-config' => :build
depends_on 'intltool' => :build
depends_on 'gettext'
depends_on 'gtk+3'
depends_on 'gnome-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
chmod 0755, "./install-sh"
system "make install"
end
end
|