2010-07-29 13:36:15 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Xchat < Formula
|
2010-07-29 13:36:15 +00:00
|
|
|
url 'http://xchat.org/files/source/2.8/xchat-2.8.8.tar.bz2'
|
|
|
|
homepage 'http://xchat.org'
|
|
|
|
md5 '6775c44f38e84d06c06c336b32c4a452'
|
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-07-29 13:36:15 +00:00
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'gtk+'
|
|
|
|
|
|
|
|
def install
|
2011-03-26 15:46:18 +00:00
|
|
|
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
|
2010-07-29 13:36:15 +00:00
|
|
|
system "make install"
|
|
|
|
rm_rf share+"applications"
|
|
|
|
rm_rf share+"pixmaps"
|
|
|
|
end
|
|
|
|
end
|