2010-03-17 00:36:20 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libpurple < Formula
|
2010-03-17 00:36:20 +00:00
|
|
|
homepage 'http://pidgin.im/'
|
2013-03-17 12:34:59 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/pidgin/Pidgin/2.10.7/pidgin-2.10.7.tar.bz2'
|
|
|
|
sha1 '01bc06e3a5712dded3ad4a4913ada12a3cd01e15'
|
2010-03-17 00:36:20 +00:00
|
|
|
|
2010-10-21 04:23:29 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2013-02-03 20:40:12 +00:00
|
|
|
depends_on 'intltool' => :build
|
2010-10-21 04:23:29 +00:00
|
|
|
depends_on 'gettext'
|
2010-03-17 00:36:20 +00:00
|
|
|
depends_on 'glib'
|
|
|
|
depends_on 'libidn'
|
|
|
|
depends_on 'gnutls'
|
2013-01-19 14:43:28 +00:00
|
|
|
# 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
|
2010-03-17 00:36:20 +00:00
|
|
|
|
|
|
|
def install
|
2010-10-21 04:23:29 +00:00
|
|
|
# Just build the library, so disable all this UI stuff
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-gtkui",
|
|
|
|
"--disable-consoleui",
|
|
|
|
"--disable-dbus",
|
|
|
|
"--without-x",
|
|
|
|
"--disable-gstreamer",
|
|
|
|
"--disable-vv",
|
|
|
|
"--disable-meanwhile",
|
|
|
|
"--disable-avahi",
|
|
|
|
"--disable-perl",
|
|
|
|
"--disable-doxygen"
|
2010-03-17 00:36:20 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|