blob: 0809ddbb9568182d6af77c8e8cd01c554ae1ac32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  | 
require 'formula'
class Xchat < Formula
  url 'http://xchat.org/files/source/2.8/xchat-2.8.8.tar.bz2'
  homepage 'http://xchat.org'
  md5 '6775c44f38e84d06c06c336b32c4a452'
  depends_on 'pkg-config' => :build
  depends_on 'gettext'
  depends_on 'gtk+'
  def install
    args = ["--prefix=#{prefix}",
            "--enable-openssl",
            "--disable-python",
            "--disable-xlib",
            "--disable-perl",
            "--disable-plugin"]
    # Fails on 32-bit core solo without this
    args << "--disable-mmx" unless MacOS.prefer_64_bit?
    system "./configure", *args
    system "make install"
    rm_rf share+"applications"
    rm_rf share+"pixmaps"
  end
end
  |