2010-03-17 00:36:20 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libpurple <Formula
|
2010-10-21 04:23:29 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/pidgin/Pidgin/2.7.3/pidgin-2.7.3.tar.bz2'
|
2010-03-17 00:36:20 +00:00
|
|
|
homepage 'http://pidgin.im/'
|
2010-10-21 04:23:29 +00:00
|
|
|
md5 'e4bbadadae85e5e008690b52dd51f102'
|
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
|