blob: fd1eb1c746fb3dc98392e53a3f7999f1f7a60d0b (
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
38
  | 
require "formula"
class Profanity < Formula
  homepage "http://www.profanity.im/"
  url "http://www.profanity.im/profanity-0.4.3.tar.gz"
  sha1 "ecd99eba84ad149941491c17c7f69a77fc20de5e"
  head "https://github.com/boothj5/profanity.git"
  revision 1
  bottle do
    sha1 "7dcef1770b0ac01814677f714fd7a8d5568cbf34" => :mavericks
    sha1 "26843e609428afb61e0df4b0d2075d09d4ae0d2e" => :mountain_lion
    sha1 "8dc3cc76203dab0fbd6a2b7ff47a88b8a3bb64b2" => :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-debug",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
  end
  test do
    system "profanity", "-v"
  end
end
  |