homebrew-core/Formula/weechat.rb

22 lines
628 B
Ruby
Raw Normal View History

require 'formula'
2009-09-17 18:41:05 +00:00
class Weechat <Formula
head 'git://git.sv.gnu.org/weechat.git'
2010-04-24 16:11:02 +00:00
url 'http://www.weechat.org/files/src/weechat-0.3.2.tar.bz2'
homepage 'http://www.weechat.org'
2010-04-24 16:11:02 +00:00
md5 'b0b00b321203dd5746a25248a9adaa92'
2009-09-17 18:41:05 +00:00
depends_on 'cmake'
depends_on 'gnutls'
2009-09-17 18:41:05 +00:00
def install
#FIXME: Compiling perl module doesn't work
#NOTE: -DPREFIX has to be specified because weechat devs enjoy being non-standard
system "cmake", "-DPREFIX=#{prefix}",
"-DDISABLE_PERL=ON",
"-DDISABLE_RUBY:BOOL=ON",
std_cmake_parameters, "."
2009-09-17 18:41:05 +00:00
system "make install"
end
end