aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJustin Blake2011-02-22 13:50:38 -0500
committerAdam Vandenberg2011-04-13 13:55:23 -0700
commit61db17c0f0bf43c4fb5ebf585cfb711c26811e0d (patch)
tree445bd69274a02727bce6917f9dcc11d30dc369c4 /Library/Formula
parent61c3a7bdb24f668420251d6ed0b69875e37c6485 (diff)
downloadhomebrew-61db17c0f0bf43c4fb5ebf585cfb711c26811e0d.tar.bz2
finch 2.7.10
Finch is a command-line chat client that comes with Pidgin. This formula is basically compiling Pidgin without a GUI. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/finch.rb35
1 files changed, 35 insertions, 0 deletions
diff --git a/Library/Formula/finch.rb b/Library/Formula/finch.rb
new file mode 100644
index 000000000..8a84cebf8
--- /dev/null
+++ b/Library/Formula/finch.rb
@@ -0,0 +1,35 @@
+require 'formula'
+
+# Finch is a command-line-only IM client from Pidgin
+class Finch < Formula
+ url 'http://sourceforge.net/projects/pidgin/files/Pidgin/2.7.10/pidgin-2.7.10.tar.bz2'
+ homepage 'http://developer.pidgin.im/wiki/Using%20Finch'
+ md5 '7514a5e25cc0061e7e1b7a1928c99247'
+
+ depends_on 'pkg-config' => :build
+ depends_on 'libidn'
+ depends_on 'gettext'
+ depends_on 'glib'
+ depends_on 'intltool'
+ depends_on 'gnutls'
+ # configure picked up this dep on my machine - adamv
+ # depends_on 'berkeley-db' => :optional
+
+ 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