diff options
| author | McKay Marston | 2012-10-02 17:31:12 -0600 |
|---|---|---|
| committer | Adam Vandenberg | 2012-10-04 07:48:13 -0700 |
| commit | c5d69aed697e7d01e7535005ab73e78a92d2c328 (patch) | |
| tree | 24ff0a69d578773a9c9ebcccb32c1cacc2e26196 | |
| parent | 7c1056bd45703d0b30289eb93c3f9c3f72e215b2 (diff) | |
| download | homebrew-c5d69aed697e7d01e7535005ab73e78a92d2c328.tar.bz2 | |
bitlbee: optional otr support
Closes #15261.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/bitlbee.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/bitlbee.rb b/Library/Formula/bitlbee.rb index 2b4558058..db2e65d23 100644 --- a/Library/Formula/bitlbee.rb +++ b/Library/Formula/bitlbee.rb @@ -6,10 +6,12 @@ class Bitlbee < Formula sha1 '74afdff87be49ce060771a6ae10d7643cd57b9b6' option 'purple', "Use libpurple for all communication with instant messaging networks" + option 'with-otr', "Build with otr (off the record) support" depends_on 'glib' depends_on 'gnutls' - depends_on 'libpurple' if build.include? 'purple' + depends_on 'libpurple' => :optional if build.include? 'purple' + depends_on 'libotr' => :optional if build.include? 'with-otr' def install # By default Homebrew will set ENV['LD'] to the same as ENV['CC'] which @@ -27,6 +29,7 @@ class Bitlbee < Formula "--ipsocket=#{var}/bitlbee/run/bitlbee.sock"] args << "--purple=1" if build.include? "purple" + args << "--otr=1" if build.include? "with-otr" system "./configure", *args |
