-
Notifications
You must be signed in to change notification settings - Fork 8
/
qtkeychain.rb
25 lines (20 loc) · 891 Bytes
/
qtkeychain.rb
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
require 'formula'
# Documentation: https://github.com/mxcl/homebrew/wiki/Formula-Cookbook
class Qtkeychain < Formula
homepage 'https://github.com/frankosterfeld/qtkeychain'
head 'https://github.com/frankosterfeld/qtkeychain.git', :using => :git
url 'https://github.com/frankosterfeld/qtkeychain/archive/v0.4.0.tar.gz'
sha256 'a67dea6a2cc857afdb12f1e639aef63d1a9841a44e5640d9e71d0446f146b707'
depends_on 'cmake' => :build
depends_on 'qt5'
def install
system "cmake", ".", "-DBUILD_WITH_QT4=OFF", *std_cmake_args
system "make install" # if this fails, try separate make/make install steps
end
def test
# This test will fail and we won't accept that! It's enough to just replace
# "false" with the main program this formula installs, but it'd be nice if you
# were more thorough. Run the test with `brew test qtkeychain`.
system "false"
end
end