aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gpgme.rb
blob: 6ff0d66d2328d6895949ba7aae81778df8bdb648 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

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

  depends_on 'gnupg'
  depends_on 'libgpg-error'

  def install
    fails_with_llvm
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--disable-asm"
    system "make install"
  end
end