homebrew-core/Formula/gnutls.rb

30 lines
761 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Gnutls < Formula
homepage 'http://gnutls.org'
url 'ftp://ftp.gnutls.org/gcrypt/gnutls/v3.1/gnutls-3.1.9.tar.xz'
sha1 'f51085d8a15bc2ebe8d449fc2c9b526d1957d149'
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
2011-03-21 21:24:22 +00:00
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