aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gpgme.rb
blob: 3bf73318006dae539e653e3b1bdf19d0e3efa617 (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
28
29
30
31
32
33
require 'formula'

class Gpgme < Formula
  homepage 'http://www.gnupg.org/related_software/gpgme/'
  url 'ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.4.3.tar.bz2'
  sha1 'ffdb5e4ce85220501515af8ead86fd499525ef9a'

  bottle do
    sha1 "94d777bbeb25382cc1d0511c8833f715811dd314" => :mavericks
    sha1 "48b1c7504b9105b006ebc8957d4934cd808706cb" => :mountain_lion
    sha1 "16ae29744f639aa3fc837a035c36b56a788c573d" => :lion
  end

  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