2011-06-20 17:30:29 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Scrotwm < Formula
|
|
|
|
homepage 'http://opensource.conformal.com/wiki/scrotwm'
|
2012-10-28 16:08:50 +00:00
|
|
|
url 'http://opensource.conformal.com/snapshots/scrotwm/scrotwm-0.9.34.tgz'
|
|
|
|
sha1 '9e943883ea55048487fe59ed09b8a84467a81593'
|
2011-06-20 17:30:29 +00:00
|
|
|
|
2012-10-28 16:08:50 +00:00
|
|
|
depends_on :x11
|
2011-06-20 17:30:29 +00:00
|
|
|
|
|
|
|
def install
|
2012-02-21 06:04:21 +00:00
|
|
|
cd "osx" do
|
|
|
|
system "make"
|
|
|
|
system "make", "install", "PREFIX=#{prefix}"
|
|
|
|
end
|
2011-06-20 17:30:29 +00:00
|
|
|
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
|