homebrew-core/Formula/homebank.rb
2017-05-18 09:29:09 +02:00

37 lines
1.1 KiB
Ruby

class Homebank < Formula
desc "Manage your personal accounts at home"
homepage "http://homebank.free.fr"
url "http://homebank.free.fr/public/homebank-5.1.5.tar.gz"
sha256 "5c3fd3478577e91a5d8e6e28fced58b5ad611eecb06e8f335a9585b817a1330f"
bottle do
sha256 "d31666b5b8a1bcfd960fefe3b5703a07ac343705d2b21a86ace3a1c7bb7b574e" => :sierra
sha256 "9d4844e119ff8697ee8be60708930a4e52465f8bac4201c3741c15db34b9dd47" => :el_capitan
sha256 "c93d921f4d547201239ee9b81fcf082b7d101d23b35072c95c42f653fae71739" => :yosemite
end
depends_on "pkg-config" => :build
depends_on "intltool" => :build
depends_on "gettext"
depends_on "gtk+3"
depends_on "gnome-icon-theme"
depends_on "hicolor-icon-theme"
depends_on "freetype"
depends_on "fontconfig"
depends_on "libsoup"
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
test do
system "#{bin}/homebank", "--version"
end
end