homebrew-core/Formula/pidgin.rb

43 lines
934 B
Ruby
Raw Normal View History

require 'formula'
class Pidgin < Formula
homepage 'http://pidgin.im/'
url 'http://downloads.sourceforge.net/project/pidgin/Pidgin/2.10.7/pidgin-2.10.7.tar.bz2'
sha1 '01bc06e3a5712dded3ad4a4913ada12a3cd01e15'
depends_on :x11
depends_on 'pkg-config' => :build
2013-07-06 03:23:35 +00:00
depends_on 'intltool' => :build
depends_on 'gettext'
depends_on 'gnutls'
depends_on 'gtk+'
2013-07-06 03:23:35 +00:00
option 'perl', 'Build pidgin with perl support'
def install
2013-07-06 03:23:35 +00:00
args = %W[
--disable-debug
--prefix=#{prefix}
--disable-avahi
--disable-dbus
--disable-gevolution
--disable-gstreamer
--disable-gstreamer-interfaces
--disable-gtkspell
--disable-idn
--disable-meanwhile
--disable-vv
--enable-gnutls=yes
]
args << '--disable-perl' unless build.include? 'perl'
system "./configure", *args
system "make install"
end
2013-07-06 03:23:35 +00:00
test do
system "#{bin}/pidgin --version"
end
end