homebrew-core/Formula/finch.rb
Jaime Marquínez Ferrándiz 259274d7d5 finch: Add missing ',' in an option declaration
Closes Homebrew/homebrew#27487.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-12 21:15:18 -07:00

44 lines
1 KiB
Ruby

require 'formula'
class Finch < Formula
homepage 'http://developer.pidgin.im/wiki/Using%20Finch'
url 'https://downloads.sourceforge.net/project/pidgin/Pidgin/2.10.9/pidgin-2.10.9.tar.bz2'
sha1 'f3de8fd94dba1f4c98d5402a02430f9f323e665a'
revision 1
depends_on 'pkg-config' => :build
depends_on 'intltool' => :build
depends_on 'gettext'
depends_on 'glib'
depends_on 'gnutls'
depends_on 'libidn'
option 'purple', 'Only build libpurple'
option 'perl', 'Build libpurple with perl support'
def install
# Common options
args = %W[
--disable-debug
--disable-dependency-tracking
--prefix=#{prefix}
--disable-avahi
--disable-dbus
--disable-doxygen
--disable-gstreamer
--disable-gtkui
--disable-meanwhile
--disable-vv
--without-x
]
args << '--disable-perl' unless build.include? 'perl'
if build.include? 'purple'
args << '--disable-consoleui'
end
system "./configure", *args
system "make install"
end
end