2011-11-02 20:19:06 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Xdotool < Formula
|
|
|
|
homepage 'http://www.semicomplete.com/projects/xdotool/'
|
2014-03-05 07:22:08 +00:00
|
|
|
url 'https://semicomplete.googlecode.com/files/xdotool-2.20110530.1.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'bf8372b2e76e8ee3884763cee6e8b3f66bf29aa6'
|
2011-11-02 20:19:06 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
|
2012-09-18 17:26:32 +00:00
|
|
|
depends_on :x11
|
|
|
|
|
2011-11-02 20:19:06 +00:00
|
|
|
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
|