aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/telepathy-gabble.rb
blob: 746385ee289818f8a985d9604b55552f764f040b (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
29
30
31
32
33
34
35
36
37
require "formula"

class TelepathyGabble < Formula
  homepage "http://telepathy.freedesktop.org/wiki/Components/"
  url "http://telepathy.freedesktop.org/releases/telepathy-gabble/telepathy-gabble-0.18.3.tar.gz"
  sha1 "1c71c5acf2c506788aa4b1604390f38979d88887"
  revision 1

  bottle do
    sha1 "39edf6b7b6392eb7ff400798bbb0d304114a55d5" => :mavericks
    sha1 "e1727fc04c0c2510f646b2c9ab947394cd730ee2" => :mountain_lion
    sha1 "1084ce8a5c9bf36c544bbe7105310d8410c38a37" => :lion
  end

  depends_on "pkg-config" => :build
  depends_on "sqlite"
  depends_on "telepathy-glib"
  depends_on "openssl"
  depends_on "libsoup"
  depends_on "libnice"

  def install
    args = %W[
      --prefix=#{prefix}
      --disable-debug
      --disable-tests
      --disable-gtk-doc-html
      --disable-static
      --disable-dependency-tracking
      --with-tls=openssl
      --with-ca-certificates=#{etc}/openssl/cert.pem
    ]

    system "./configure", *args
    system "make install"
  end
end