2010-03-14 12:24:37 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Qca < Formula
|
2010-03-14 12:24:37 +00:00
|
|
|
homepage 'http://delta.affinix.com/qca/'
|
2012-06-18 16:07:43 +00:00
|
|
|
url 'http://delta.affinix.com/download/qca/2.0/qca-2.0.3.tar.bz2'
|
|
|
|
sha1 '9c868b05b81dce172c41b813de4de68554154c60'
|
2010-03-14 12:24:37 +00:00
|
|
|
|
|
|
|
depends_on 'qt'
|
|
|
|
|
2012-10-21 19:45:15 +00:00
|
|
|
# Fix for clang adhering strictly to standard, see http://clang.llvm.org/compatibility.html#dep_lookup_bases
|
|
|
|
# See upstream report: https://bugs.kde.org/show_bug.cgi?id=307470
|
2012-09-26 22:54:30 +00:00
|
|
|
def patches
|
2012-10-21 19:45:15 +00:00
|
|
|
{:p3 =>
|
|
|
|
'http://websvn.kde.org/trunk/kdesupport/qca/src/botantools/botan/botan/secmem.h?r1=1273508&r2=1273507&pathrev=1273508&view=patch'
|
2012-09-28 15:50:44 +00:00
|
|
|
}
|
2012-09-26 22:54:30 +00:00
|
|
|
end
|
|
|
|
|
2010-03-14 12:24:37 +00:00
|
|
|
def install
|
2012-06-18 16:07:43 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-tests"
|
2010-03-14 12:24:37 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|