homebrew-core/Formula/gnutls.rb
Stefan ff65fa91ed Update gnutls to 3.1.4
Closes Homebrew/homebrew#16009.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-14 12:48:18 -06:00

30 lines
869 B
Ruby

require 'formula'
class Gnutls < Formula
homepage 'http://www.gnu.org/software/gnutls/gnutls.html'
url 'http://ftpmirror.gnu.org/gnutls/gnutls-3.1.4.tar.xz'
mirror 'http://ftp.gnu.org/gnu/gnutls/gnutls-3.1.4.tar.xz'
sha256 'f27d92cdca8a4f4406e58c91e90e9ce1c6f23d1bbeddf864be789b99b0ef7d70'
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