mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-29 20:29:40 -05:00
The WeeChat devs don't know about CMAKE_INSTALL_PREFIX apparently, someone should tell them. I won't. I plan on just sitting back and shacking my head side-to-side instead.
21 lines
585 B
Ruby
21 lines
585 B
Ruby
require 'brewkit'
|
|
|
|
class Weechat <Formula
|
|
@url='http://www.weechat.org/files/src/weechat-0.3.0.tar.bz2'
|
|
@homepage='http://www.weechat.org'
|
|
@md5='c31cfc229e964ff9257cc9c7f9e6c9bc'
|
|
|
|
depends_on 'cmake'
|
|
depends_on 'gnutls'
|
|
|
|
def install
|
|
#FIXME: Compiling perl module doesn't work
|
|
#FIXME: GnuTLS support isn't detected
|
|
#NOTE: -DPREFIX has to be specified because weechat devs enjoy being non-standard
|
|
system "cmake", "-DPREFIX=#{prefix}",
|
|
"-DDISABLE_PERL=ON",
|
|
std_cmake_parameters, "."
|
|
system "make install"
|
|
end
|
|
end
|