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/'
|
2012-06-10 00:55:35 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/pidgin/Pidgin/2.10.4/pidgin-2.10.4.tar.bz2'
|
|
|
|
sha1 'f9ce34e69f97bcd1bb216aefb6d687b5b47f0796'
|
2010-03-17 00:36:20 +00:00
|
|
|
|
2010-10-21 04:23:29 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'gettext'
|
2010-03-17 00:36:20 +00:00
|
|
|
depends_on 'glib'
|
|
|
|
depends_on 'intltool'
|
|
|
|
depends_on 'libidn'
|
|
|
|
depends_on 'gnutls'
|
|
|
|
|
|
|
|
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
|