```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
    system "cmake", "-DDISABLE_PERL=ON", std_cmake_parameters, "."
    system "make install"
  end
end
```

Fix Weechat always installing to /usr/local
user
```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
```
assistant