aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAlexis Hildebrandt2014-06-22 11:36:47 +0200
committerMike McQuaid2014-08-28 17:00:11 +0100
commit2ee51d0ceeca1ccadfdaa335a415c8581d9adccc (patch)
tree01638a6e29c6b27756a7c3589b284a15528db4bd /Library/Formula
parent193de8bda1560b39bb095406e938b95ab1082fc6 (diff)
downloadhomebrew-2ee51d0ceeca1ccadfdaa335a415c8581d9adccc.tar.bz2
cwm 5.5
portable version of OpenBSD's cwm(1) window manager
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cwm.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/cwm.rb b/Library/Formula/cwm.rb
new file mode 100644
index 000000000..2ea843c81
--- /dev/null
+++ b/Library/Formula/cwm.rb
@@ -0,0 +1,21 @@
+require "formula"
+
+class Cwm < Formula
+ homepage "https://github.com/chneukirchen/cwm"
+ url "https://github.com/chneukirchen/cwm/archive/v5.5.tar.gz"
+ sha1 "0e21a48b4973beb7ddf265bea48b73b0c39a589e"
+
+ depends_on :x11
+ depends_on "pkg-config" => :build
+
+ patch do
+ # Remove this patch when updating to the next cwm release 5.6,
+ # where it is already contained.
+ url "https://github.com/chneukirchen/cwm/commit/c7f481e6fac2cb693144bff45f6180d146bf13a5.diff"
+ sha1 "b91bd1b14fe9d4fef287be19eabc05762e5cf047"
+ end
+
+ def install
+ system "make", "PREFIX=#{prefix}", "install"
+ end
+end