aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/profanity.rb
blob: 6c431f89ebdd73197135cb64526be33206532826 (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
require "formula"

class Profanity < Formula
  homepage "http://www.profanity.im/"
  url "http://www.profanity.im/profanity-0.4.5.tar.gz"
  sha1 "d9eb1b9d6a674d5f49e03882f80d1c5cf98c3ce1"
  head "https://github.com/boothj5/profanity.git"

  bottle do
    sha1 "f53fc5631fa1b079414420275278e55d6225798d" => :yosemite
    sha1 "240feb4c76b4ddb3170792710fa011cb90c302d4" => :mavericks
    sha1 "2c5d854f76597d6b0aa55f4daad3aad3027f3bc4" => :mountain_lion
  end

  depends_on "autoconf" => :build
  depends_on "automake" => :build
  depends_on "pkg-config" => :build
  depends_on "libstrophe"
  depends_on "glib"
  depends_on "openssl"
  depends_on "gnutls"
  depends_on "libotr" => :recommended
  depends_on "terminal-notifier" => :optional

  def install
    system "./bootstrap.sh"
    system "./configure", "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    system "profanity", "-v"
  end
end