Files
tigerbrew/Library/Formula/weechat.rb
T
Adam Vandenberg d0efd9ee94 Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00

22 lines
627 B
Ruby

require 'formula'
class Weechat <Formula
head 'git://git.sv.gnu.org/weechat.git'
url 'http://www.weechat.org/files/src/weechat-0.3.2.tar.bz2'
homepage 'http://www.weechat.org'
md5 'b0b00b321203dd5746a25248a9adaa92'
depends_on 'cmake'
depends_on 'gnutls'
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, "."
system "make install"
end
end