2011-02-22 18:50:38 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
# Finch is a command-line-only IM client from Pidgin
|
|
|
|
class Finch < Formula
|
|
|
|
homepage 'http://developer.pidgin.im/wiki/Using%20Finch'
|
2011-05-17 00:14:29 +00:00
|
|
|
url 'http://sourceforge.net/projects/pidgin/files/Pidgin/2.7.11/pidgin-2.7.11.tar.bz2'
|
|
|
|
sha256 'a24e2c3118bd47983955d398c9cf5543c12e95527cdf7de9d273a6e92f9d160b'
|
2011-02-22 18:50:38 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'libidn'
|
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'glib'
|
|
|
|
depends_on 'intltool'
|
|
|
|
depends_on 'gnutls'
|
|
|
|
|
|
|
|
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
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-gtkui",
|
|
|
|
"--disable-gstreamer",
|
|
|
|
"--disable-vv",
|
|
|
|
"--disable-meanwhile",
|
|
|
|
"--disable-avahi",
|
|
|
|
"--disable-dbus",
|
|
|
|
"--disable-perl"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|