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

class Gpgme < Formula
  url 'ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.3.1.tar.bz2'
  homepage 'http://www.gnupg.org/gpgme.html'
  sha1 '7d19a95a2239da13764dad7f97541be884ec5a37'

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

  fails_with_llvm :build => 2334

  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