40 lines
1.2 KiB
Ruby
40 lines
1.2 KiB
Ruby
class Profanity < Formula
|
|
desc "Console based XMPP client"
|
|
homepage "http://www.profanity.im/"
|
|
url "http://www.profanity.im/profanity-0.4.7.tar.gz"
|
|
sha256 "b02c4e029fe84941050ccab6c8cdf5f15df23de5d1384b4d1ec66da6faee11dd"
|
|
revision 3
|
|
|
|
head "https://github.com/boothj5/profanity.git"
|
|
|
|
bottle do
|
|
sha256 "f822fb49ab3e57dc2c0e155ea23f93c0d8f8e230a5b6e7f41401368ef9cde23d" => :sierra
|
|
sha256 "266839844245169363cbe2f8a4e09023adef02d529ded253aa5bf30c8607a473" => :el_capitan
|
|
sha256 "17ceae0ada23ce3686e534ad7a3644348105805dc1f3da570cb6c08b749a41a9" => :yosemite
|
|
end
|
|
|
|
depends_on "autoconf" => :build
|
|
depends_on "automake" => :build
|
|
depends_on "pkg-config" => :build
|
|
depends_on "ossp-uuid"
|
|
depends_on "libstrophe"
|
|
depends_on "readline"
|
|
depends_on "glib"
|
|
depends_on "openssl"
|
|
depends_on "gnutls"
|
|
depends_on "libotr" => :recommended
|
|
depends_on "gpgme" => :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
|