2014-08-08 13:30:00 +00:00
|
|
|
require "formula"
|
|
|
|
|
|
|
|
class Profanity < Formula
|
|
|
|
homepage "http://www.profanity.im/"
|
2014-08-28 12:53:51 +00:00
|
|
|
url "http://www.profanity.im/profanity-0.4.4.tar.gz"
|
|
|
|
sha1 "c9b8472ccdefc8d3a24c06a4ee9a3f6b0b75794d"
|
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
|
2014-08-30 00:14:04 +00:00
|
|
|
sha1 "60efcafb41f98c6c19e3404b536fdc405b2f42fb" => :mavericks
|
|
|
|
sha1 "e7e4ecc29339d07e9e898b0c93a887a0007f42aa" => :mountain_lion
|
|
|
|
sha1 "040472aa3b48d4470fb652b3ce16c73e5c88983b" => :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"
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--disable-silent-rules",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "profanity", "-v"
|
|
|
|
end
|
|
|
|
end
|