-
Notifications
You must be signed in to change notification settings - Fork 9
/
finch.rb
39 lines (36 loc) · 1.39 KB
/
finch.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
require 'formula'
class Finch < Formula
homepage 'http://developer.pidgin.im/wiki/Using%20Finch'
url 'http://sourceforge.net/projects/pidgin/files/Pidgin/2.11.0/pidgin-2.11.0.tar.bz2'
sha256 'f72613440586da3bdba6d58e718dce1b2c310adf8946de66d8077823e57b3333'
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
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
# * TCL scripting
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-gtkui",
"--disable-gstreamer",
"--disable-vv",
"--disable-meanwhile",
"--disable-avahi",
"--disable-dbus",
"--disable-perl",
"--disable-tcl"
system "make install"
end
end