blob: 13bebe8b5169672b8bf13bcb6fd181220177d5f3 (
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
|
require 'formula'
class Homebank < Formula
homepage 'http://homebank.free.fr'
url 'http://homebank.free.fr/public/homebank-4.5.5.tar.gz'
sha1 '1867c1d1671a3f1ca16f660b8169d5255e440d93'
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
|