homebrew-core/Formula/gnutls.rb
Jack Nagel 2352add09e gnutls: don't shadow certtool manpage either
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-11 20:23:04 -05:00

29 lines
938 B
Ruby

require 'formula'
class Gnutls < Formula
homepage 'http://www.gnu.org/software/gnutls/gnutls.html'
url 'http://ftpmirror.gnu.org/gnutls/gnutls-2.12.11.tar.bz2'
md5 'f08234b64a8025d6d5aa1307868b02ed'
depends_on 'pkg-config' => :build
depends_on 'libgcrypt'
depends_on 'libtasn1' => :optional
fails_with_llvm "Undefined symbols when linking", :build => "2326"
def install
ENV.universal_binary # build fat so wine can use it
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--disable-guile",
"--disable-static",
"--prefix=#{prefix}",
"--with-libgcrypt",
"--without-p11-kit"
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