2009-10-15 19:04:16 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Gpgme < Formula
|
2011-08-01 04:12:22 +00:00
|
|
|
url 'ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.3.1.tar.bz2'
|
2010-11-16 22:05:57 +00:00
|
|
|
homepage 'http://www.gnupg.org/gpgme.html'
|
2011-08-01 04:12:22 +00:00
|
|
|
sha1 '7d19a95a2239da13764dad7f97541be884ec5a37'
|
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'
|
2009-10-15 19:04:16 +00:00
|
|
|
|
2011-03-21 21:24:22 +00:00
|
|
|
fails_with_llvm
|
|
|
|
|
2009-10-15 19:04:16 +00:00
|
|
|
def install
|
2010-03-18 18:00:24 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-asm"
|
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
|