diff options
| author | Mike McQuaid | 2014-11-28 08:37:20 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-11-28 09:05:36 +0000 |
| commit | 67ebcc0c51ed001c7d437e18265807440f9bd2aa (patch) | |
| tree | eb257526a587b674a645645705b243f6fe593731 /Library | |
| parent | eb9a0c6ab1bfad876b67480049000d75bc2fd9b7 (diff) | |
| download | homebrew-67ebcc0c51ed001c7d437e18265807440f9bd2aa.tar.bz2 | |
qca 2.1.0
Closes #34187.
Closes #34446.
Closes #34516.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/qca.rb | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/Library/Formula/qca.rb b/Library/Formula/qca.rb index 04bf269a9..e278f0174 100644 --- a/Library/Formula/qca.rb +++ b/Library/Formula/qca.rb @@ -1,21 +1,24 @@ -require 'formula' +require "formula" class Qca < Formula - homepage 'http://delta.affinix.com/qca/' - url 'http://delta.affinix.com/download/qca/2.0/qca-2.0.3.tar.bz2' - sha1 '9c868b05b81dce172c41b813de4de68554154c60' + homepage "http://delta.affinix.com/qca/" + url "http://delta.affinix.com/download/qca/2.0/qca-2.1.0.tar.gz" + sha1 "2b582b3ccc7e6098cd14d6f52a829ae1539e9cc8" - depends_on 'qt' + depends_on "cmake" => :build + depends_on "pkg-config" => :build + depends_on "qt" + depends_on "openssl" - # Fix for clang adhering strictly to standard, see: - # http://clang.llvm.org/compatibility.html#dep_lookup_bases - patch do - url "http://quickgit.kde.org/?p=qca.git&a=commitdiff&h=312b69&o=plain" - sha1 "0c5e5349de083c1a35d9163d935f388d9742a597" + def install + mkdir "build" do + system "cmake", "..", *std_cmake_args + system "make", "install" + end end - def install - system "./configure", "--prefix=#{prefix}", "--disable-tests" - system "make install" + test do + system "#{bin}/qcatool", "--noprompt", "--newpass=", + "key", "make", "rsa", "2048", "test.key" end end |
