2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-17 18:41:05 +00:00
|
|
|
|
|
|
|
class Weechat <Formula
|
2010-02-08 12:18:02 +00:00
|
|
|
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'
|
2010-02-08 12:18:02 +00:00
|
|
|
homepage 'http://www.weechat.org'
|
2010-04-24 16:11:02 +00:00
|
|
|
md5 'b0b00b321203dd5746a25248a9adaa92'
|
2009-09-17 18:41:05 +00:00
|
|
|
|
2009-09-21 18:00:13 +00:00
|
|
|
depends_on 'cmake'
|
2009-09-18 13:38:43 +00:00
|
|
|
depends_on 'gnutls'
|
2009-09-17 18:41:05 +00:00
|
|
|
|
|
|
|
def install
|
2009-09-18 13:38:43 +00:00
|
|
|
#FIXME: Compiling perl module doesn't work
|
2009-10-02 18:56:20 +00:00
|
|
|
#NOTE: -DPREFIX has to be specified because weechat devs enjoy being non-standard
|
|
|
|
system "cmake", "-DPREFIX=#{prefix}",
|
|
|
|
"-DDISABLE_PERL=ON",
|
2010-02-08 12:18:02 +00:00
|
|
|
"-DDISABLE_RUBY:BOOL=ON",
|
2009-10-02 18:56:20 +00:00
|
|
|
std_cmake_parameters, "."
|
2009-09-17 18:41:05 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|