6ed3a4206c
Fixes a major bug: http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/6623 Closes Homebrew/homebrew#17786. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
29 lines
761 B
Ruby
29 lines
761 B
Ruby
require 'formula'
|
|
|
|
class Gnutls < Formula
|
|
homepage 'http://gnutls.org'
|
|
url 'ftp://ftp.gnutls.org/gcrypt/gnutls/v3.1/gnutls-3.1.8.tar.xz'
|
|
sha1 'ad9c281fc6d5d8d5af9a2d8225baf9ec556e2723'
|
|
|
|
depends_on 'xz' => :build
|
|
depends_on 'pkg-config' => :build
|
|
depends_on 'libtasn1'
|
|
depends_on 'p11-kit'
|
|
depends_on 'nettle'
|
|
|
|
fails_with :llvm do
|
|
build 2326
|
|
cause "Undefined symbols when linking"
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--disable-static",
|
|
"--prefix=#{prefix}"
|
|
system "make install"
|
|
|
|
# certtool shadows the OS X certtool utility
|
|
mv bin+'certtool', bin+'gnutls-certtool'
|
|
mv man1+'certtool.1', man1+'gnutls-certtool.1'
|
|
end
|
|
end
|