aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mcabber.rb
blob: cc4d800160ecfba495e261d8c430cf561181f7a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
require 'formula'

class Mcabber <Formula
  url 'http://mcabber.com/files/mcabber-0.9.10.tar.bz2'
  homepage 'http://mcabber.com/'
  md5 '887415d16c32af58eab2ec2d9bb17fa6'

  depends_on 'glib'
  depends_on 'gpgme' => :optional
  depends_on 'aspell' => :optional
  depends_on 'enchant' => :optional
  depends_on 'libotr' => :optional
  depends_on 'libgcrypt' => :optional

  def install
    configure_args = [
        "--prefix=#{prefix}",
        "--disable-debug",
        "--disable-dependency-tracking",
        "--enable-aspell",
        "--enable-enchant",
        "--enable-otr",
        "--with-ssl"
    ]
    system "./configure", *configure_args
    system "make install"
  end
end