2014-06-22 09:36:47 +00:00
|
|
|
require "formula"
|
|
|
|
|
|
|
|
class Cwm < Formula
|
|
|
|
homepage "https://github.com/chneukirchen/cwm"
|
|
|
|
url "https://github.com/chneukirchen/cwm/archive/v5.5.tar.gz"
|
|
|
|
sha1 "0e21a48b4973beb7ddf265bea48b73b0c39a589e"
|
|
|
|
|
2014-08-28 15:58:15 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "4794ec9443e9ff59c3af6f85ba0bbac08fad496e" => :mavericks
|
|
|
|
sha1 "2750622d8304cc2a008586e4b7b3cc6bfa82b3e2" => :mountain_lion
|
|
|
|
sha1 "28a681a7185ab875e77eb664679c21751e871855" => :lion
|
|
|
|
end
|
|
|
|
|
2014-06-22 09:36:47 +00:00
|
|
|
depends_on :x11
|
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
|
|
|
|
patch do
|
2014-08-28 16:01:00 +00:00
|
|
|
# Fix 10.9 build. Merged upstream.
|
|
|
|
url "https://github.com/chneukirchen/cwm/commit/c7f481.diff"
|
2014-06-22 09:36:47 +00:00
|
|
|
sha1 "b91bd1b14fe9d4fef287be19eabc05762e5cf047"
|
|
|
|
end
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "make", "PREFIX=#{prefix}", "install"
|
|
|
|
end
|
|
|
|
end
|