weechat 0.3.9.2

- Upgrade to 0.3.9.2.  Still works with superenv.

Closes Homebrew/homebrew#16152.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
nibbles 2bits 2012-11-19 17:05:26 -08:00 committed by Jack Nagel
parent a0b7420cfd
commit d335849d96

View file

@ -2,8 +2,8 @@ require 'formula'
class Weechat < Formula
homepage 'http://www.weechat.org'
url 'http://www.weechat.org/files/src/weechat-0.3.9.1.tar.bz2'
sha1 'f7b9d04ed40a36ecbc3d624affcc82cce966b14a'
url 'http://www.weechat.org/files/src/weechat-0.3.9.2.tar.bz2'
sha1 '64147c88426c240d5d33c65755c729ed2c435aeb'
depends_on 'cmake' => :build
depends_on 'gettext'
@ -52,10 +52,12 @@ class Weechat < Formula
args << '-DENABLE_ASPELL=OFF' unless build.include? 'aspell'
args << '-DENABLE_GUILE=OFF' unless build.include? 'guile' and \
Formula.factory('guile').linked_keg.exist?
args << '.'
args << '..'
system 'cmake', *args
system 'make install'
mkdir 'build' do
system 'cmake', *args
system 'make install'
end
end
def caveats; <<-EOS.undent