diff options
| author | Peter Powell | 2015-03-31 00:25:06 +0100 | 
|---|---|---|
| committer | Tim D. Smith | 2015-04-02 21:13:20 -0700 | 
| commit | 83bd4e908267f99bd41e6816459e1d335d1d761a (patch) | |
| tree | dd4b7192b90599108492b96dc5a7e85381ed2d2c | |
| parent | 58aabde65298dabf2d57d33d4411aa2dd74591c5 (diff) | |
| download | homebrew-83bd4e908267f99bd41e6816459e1d335d1d761a.tar.bz2 | |
bitlbee 3.4, HEAD
Closes #38217.
Signed-off-by: Tim D. Smith <git@tim-smith.us>
| -rw-r--r-- | Library/Formula/bitlbee.rb | 36 | 
1 files changed, 20 insertions, 16 deletions
| diff --git a/Library/Formula/bitlbee.rb b/Library/Formula/bitlbee.rb index e154d64fb..f1639304f 100644 --- a/Library/Formula/bitlbee.rb +++ b/Library/Formula/bitlbee.rb @@ -1,9 +1,9 @@ -require 'formula' -  class Bitlbee < Formula -  homepage 'http://www.bitlbee.org/' -  url 'http://get.bitlbee.org/src/bitlbee-3.2.2.tar.gz' -  sha1 '7e3cfe2b6bf4e8e603c74e7587307a6f5d267e9c' +  homepage "http://www.bitlbee.org/" +  url "http://get.bitlbee.org/src/bitlbee-3.4.tar.gz" +  sha256 "cebad646bbfd17c80923743244039fd970e3ca27e8c1b7cf872622e773239d5e" + +  head "https://github.com/bitlbee/bitlbee.git"    bottle do      sha1 "4a639d88aa819d23d6020a36602097474f66357d" => :mavericks @@ -11,17 +11,17 @@ class Bitlbee < Formula      sha1 "c21d19af516d959eb2a0b4b5ff534a66678d419d" => :lion    end -  option 'with-pidgin', "Use finch/libpurple for all communication with instant messaging networks" -  option 'with-libotr', "Build with otr (off the record) support" +  option "with-pidgin", "Use finch/libpurple for all communication with instant messaging networks" +  option "with-libotr", "Build with otr (off the record) support"    deprecated_option "with-finch" => "with-pidgin" -  depends_on 'pkg-config' => :build -  depends_on 'glib' -  depends_on 'gnutls' -  depends_on 'libgcrypt' -  depends_on 'pidgin' => :optional -  depends_on 'libotr' => :optional +  depends_on "pkg-config" => :build +  depends_on "glib" +  depends_on "gnutls" +  depends_on "libgcrypt" +  depends_on "pidgin" => :optional +  depends_on "libotr" => :optional    def install      args = ["--prefix=#{prefix}", @@ -38,11 +38,11 @@ class Bitlbee < Formula      # This build depends on make running first.      system "make" -    system "make install" +    system "make", "install"      # Install the dev headers too -    system "make install-dev" +    system "make", "install-dev"      # This build has an extra step. -    system "make install-etc" +    system "make", "install-etc"      (var+"bitlbee/run").mkpath      (var+"bitlbee/lib").mkpath @@ -88,4 +88,8 @@ class Bitlbee < Formula      </plist>      EOS    end + +  test do +    shell_output("#{sbin}/bitlbee -V", 1) +  end  end | 
