finch no longer needs libgcrypt to configure

master
Adam Vandenberg 2013-06-30 15:07:33 -07:00
parent 5b44cf0929
commit 77cb7d138b
1 changed files with 6 additions and 15 deletions

View File

@ -7,30 +7,21 @@ class Finch < Formula
depends_on 'pkg-config' => :build
depends_on 'intltool' => :build
depends_on 'libidn'
depends_on 'gettext'
depends_on 'glib'
depends_on 'gnutls'
# guntls used to use libgcrypt, and the configure script links this
# library when testing for gnutls, so include it as a build-time
# dependency. See:
# https://github.com/mxcl/homebrew/issues/17129
depends_on 'libgcrypt' => :build
depends_on 'libidn'
def install
# To get it to compile, had to configure without support for:
# * Sametime (meanwhile)
# * Bonjour (avahi)
# * Communicating with other programs (d-bus)
# * Perl scripting
# Builds the UI
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-gtkui",
"--disable-gstreamer",
"--disable-vv",
"--disable-meanwhile",
"--disable-avahi",
"--disable-dbus",
"--disable-gstreamer",
"--disable-gtkui",
"--disable-meanwhile",
"--disable-vv",
"--disable-perl"
system "make install"
end