aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorCarsten Dreesbach2011-11-02 16:19:06 -0400
committerAdam Vandenberg2012-02-19 20:33:53 -0800
commit49b4c4fbeff3fbb21fbb43c30a433e68b9f8b12b (patch)
tree81c99706dcbeb2b15dbc33b03daad88083f7ecce /Library
parent6b4d345c3f16a4c5bbc780442db0f138cda7fa18 (diff)
downloadhomebrew-49b4c4fbeff3fbb21fbb43c30a433e68b9f8b12b.tar.bz2
xdotool 2.20110530.1
Closes #8425. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/xdotool.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/xdotool.rb b/Library/Formula/xdotool.rb
new file mode 100644
index 000000000..e3468cd14
--- /dev/null
+++ b/Library/Formula/xdotool.rb
@@ -0,0 +1,22 @@
+require 'formula'
+
+class Xdotool < Formula
+ homepage 'http://www.semicomplete.com/projects/xdotool/'
+ url 'http://semicomplete.googlecode.com/files/xdotool-2.20110530.1.tar.gz'
+ md5 '62d0c2158bbaf882a1cf580421437b2f'
+
+ depends_on 'pkg-config' => :build
+
+ def install
+ system "make", "PREFIX=#{prefix}", "INSTALLMAN=#{man}", "install"
+ end
+
+ def caveats; <<-EOS.undent
+ You will probably want to enable XTEST in your X11 server now by running:
+ defaults write org.x.X11 enable_test_extensions -boolean true
+
+ For the source of this useful hint:
+ http://stackoverflow.com/questions/1264210/does-mac-x11-have-the-xtest-extension
+ EOS
+ end
+end