Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: ec242af1a6
Fetching contributors…

Cannot retrieve contributors at this time

48 lines (41 sloc) 1.383 kB
require 'formula'
class Libpurple < Formula
homepage 'http://pidgin.im/'
url 'http://downloads.sourceforge.net/project/pidgin/Pidgin/2.10.6/pidgin-2.10.6.tar.bz2'
sha1 'a0532e7ba2acd205d6a5a4e3624156a980fe3d43'
depends_on 'pkg-config' => :build
depends_on 'intltool' => :build
depends_on 'gettext'
depends_on 'glib'
depends_on 'libidn'
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
option 'without-perl', 'Build libpurple without perl support'
option 'with-perl', 'Build libpurple with perl support (default unless OSX 10.6 or below)'
def install
# Just build the library, so disable all this UI stuff
options = %W[
--disable-debug
--disable-dependency-tracking
--prefix=#{prefix}
--disable-gtkui
--disable-consoleui
--disable-dbus
--without-x
--disable-gstreamer
--disable-vv
--disable-meanwhile
--disable-avahi
--disable-doxygen
]
if build.include? 'without-perl' or (!build.include?('with-perl') and MacOS.version <= :snow_leopard)
options << '--disable-perl'
end
system "./configure", *options
system "make install"
end
end
Jump to Line
Something went wrong with that request. Please try again.