2014-08-08 13:30:00 +00:00
|
|
|
class Profanity < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Console based XMPP client"
|
2014-08-08 13:30:00 +00:00
|
|
|
homepage "http://www.profanity.im/"
|
2015-04-02 17:36:04 +00:00
|
|
|
url "http://www.profanity.im/profanity-0.4.6.tar.gz"
|
|
|
|
sha256 "9672667e419958dd75d40cc0f253087ba1ae7df0c3c855eaa780831ad8282a9f"
|
2014-08-08 13:30:00 +00:00
|
|
|
head "https://github.com/boothj5/profanity.git"
|
|
|
|
|
2014-08-08 17:10:26 +00:00
|
|
|
bottle do
|
2015-04-02 18:05:54 +00:00
|
|
|
sha256 "94039c7e967b2db27b9b0ea7b57ecf394b571c5facbf38cc754f9076c86b5f86" => :yosemite
|
|
|
|
sha256 "6e137ddb29e94142d988738f491a994137992680b5322f8593656ae87159cc84" => :mavericks
|
|
|
|
sha256 "5399f746ca2c82a279ef696ccd3bf7a3e08b8de2f9758668a0c4342132df8b9b" => :mountain_lion
|
2014-08-08 17:10:26 +00:00
|
|
|
end
|
|
|
|
|
2014-08-08 13:30:00 +00:00
|
|
|
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"
|
2014-11-10 01:19:12 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2014-08-08 13:30:00 +00:00
|
|
|
"--disable-silent-rules",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "profanity", "-v"
|
|
|
|
end
|
|
|
|
end
|