aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorTobias Ebnöther2010-07-29 15:36:15 +0200
committerAdam Vandenberg2010-07-29 08:06:43 -0700
commitfb42d7a4eb89bc201ff34704474f21233fe5c9a9 (patch)
treee666baee7e613021ef1381b39d9b1c3632effd88 /Library/Formula
parent8bcf8f034f24ef67713ac2e277e558a7350381cf (diff)
downloadhomebrew-fb42d7a4eb89bc201ff34704474f21233fe5c9a9.tar.bz2
Created new formula for xchat
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/xchat.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/xchat.rb b/Library/Formula/xchat.rb
new file mode 100644
index 000000000..b3dd184c5
--- /dev/null
+++ b/Library/Formula/xchat.rb
@@ -0,0 +1,23 @@
+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'
+ depends_on 'gettext'
+ depends_on 'gtk+'
+
+ def install
+ system "./configure", "--prefix=#{prefix}",
+ "--enable-openssl",
+ "--disable-python",
+ "--disable-xlib",
+ "--disable-perl",
+ "--disable-plugin"
+ system "make install"
+ rm_rf share+"applications"
+ rm_rf share+"pixmaps"
+ end
+end