7ee2ea26fb
- Upgrade to 0.9.34 - Add a required dep on x11. It's an X window manager. - Works well with superenv Closes Homebrew/homebrew#15718. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
22 lines
527 B
Ruby
22 lines
527 B
Ruby
require 'formula'
|
|
|
|
class Scrotwm < Formula
|
|
homepage 'http://opensource.conformal.com/wiki/scrotwm'
|
|
url 'http://opensource.conformal.com/snapshots/scrotwm/scrotwm-0.9.34.tgz'
|
|
sha1 '9e943883ea55048487fe59ed09b8a84467a81593'
|
|
|
|
depends_on :x11
|
|
|
|
def install
|
|
cd "osx" do
|
|
system "make"
|
|
system "make", "install", "PREFIX=#{prefix}"
|
|
end
|
|
end
|
|
|
|
def caveats; <<-EOS
|
|
To use scrotwm as your X window manager, create or edit ~/.xinitrc and add:
|
|
exec #{HOMEBREW_PREFIX}/bin/scrotwm
|
|
EOS
|
|
end
|
|
end
|