forked from rdowinton/homebrew-x11
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cwm.rb
25 lines (21 loc) · 854 Bytes
/
cwm.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
class Cwm < Formula
homepage "https://github.com/chneukirchen/cwm"
url "https://github.com/chneukirchen/cwm/archive/v5.6.tar.gz"
sha256 "006320bb1716cc0f93bac5634dcccd01f21d468263b5fc9d1be2dd11078a0625"
bottle do
cellar :any
sha256 "66505c17dbe6aabfc53d2cfd0d9b09f77ca384637ffcf99a209e0c87f6b37a85" => :yosemite
sha256 "9665155b0132c3fd248bb81d44204b90e8b352fb82054b238b98d7223a92abdd" => :mavericks
sha256 "895d906f52d9eca0a83a290bcb1499343ecf91b22cbee77f0494a39239fa7859" => :mountain_lion
end
depends_on :x11
depends_on "pkg-config" => :build
patch do
# Fix 10.10 build. Merged upstream.
url "https://github.com/chneukirchen/cwm/commit/81c05b3.diff"
sha256 "d801f8536885bdda82f724b6b30c26af5e8967490e1c0b6419933b2341688db4"
end
def install
system "make", "PREFIX=#{prefix}", "install"
end
end