blob: 7d64a18b7e0a239d9ef36b4faa21a0eaadcffd38 (
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.4.tar.gz'
sha1 '0d896a95963a5748216b98062b4e15aa5c94bb85'
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
|