homebrew-core/Formula/profanity.rb

38 lines
1 KiB
Ruby
Raw Normal View History

2014-08-08 13:30:00 +00:00
require "formula"
class Profanity < Formula
homepage "http://www.profanity.im/"
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"
bottle do
2014-08-10 15:28:40 +00:00
sha1 "7dcef1770b0ac01814677f714fd7a8d5568cbf34" => :mavericks
sha1 "26843e609428afb61e0df4b0d2075d09d4ae0d2e" => :mountain_lion
sha1 "8dc3cc76203dab0fbd6a2b7ff47a88b8a3bb64b2" => :lion
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