2009-10-15 19:04:16 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Gpgme < Formula
|
2013-03-06 11:39:45 +00:00
|
|
|
homepage 'http://www.gnupg.org/related_software/gpgme/'
|
2013-10-06 19:18:19 +00:00
|
|
|
url 'ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.4.3.tar.bz2'
|
|
|
|
sha1 'ffdb5e4ce85220501515af8ead86fd499525ef9a'
|
2009-10-15 19:04:16 +00:00
|
|
|
|
2010-04-15 18:30:32 +00:00
|
|
|
depends_on 'gnupg'
|
2009-10-15 19:04:16 +00:00
|
|
|
depends_on 'libgpg-error'
|
2011-02-12 09:45:22 +00:00
|
|
|
depends_on 'libassuan'
|
2011-12-12 05:21:59 +00:00
|
|
|
depends_on 'pth'
|
2009-10-15 19:04:16 +00:00
|
|
|
|
2012-03-18 20:33:24 +00:00
|
|
|
fails_with :llvm do
|
|
|
|
build 2334
|
|
|
|
end
|
2011-03-21 21:24:22 +00:00
|
|
|
|
2009-10-15 19:04:16 +00:00
|
|
|
def install
|
2011-10-02 20:10:22 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2011-12-18 05:06:57 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--enable-static",
|
|
|
|
"--without-gpgsm",
|
|
|
|
"--without-gpgconf"
|
2011-07-04 23:10:09 +00:00
|
|
|
system "make"
|
|
|
|
system "make check"
|
2009-10-15 19:04:16 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|