aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/scrotwm.rb
blob: d8c732f96be72656f455634cbcb57be82a2c03e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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