aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gpgme.rb
blob: 867f81595fba543f5df592a37430320dc7d5dc59 (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
27
require 'formula'

class Gpgme < Formula
  homepage 'http://www.gnupg.org/gpgme.html'
  url 'ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.4.0.tar.bz2'
  sha1 '897e36c1d3f6595d69fb37c820aaa162daa0e369'

  depends_on 'gnupg'
  depends_on 'libgpg-error'
  depends_on 'libassuan'
  depends_on 'pth'

  fails_with :llvm do
    build 2334
  end

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--enable-static",
                          "--without-gpgsm",
                          "--without-gpgconf"
    system "make"
    system "make check"
    system "make install"
  end
end