aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-11-12 07:13:00 -0800
committerAdam Vandenberg2013-11-12 07:13:00 -0800
commit190e93a02d3a6036e70370cd56fa36bf0110de2f (patch)
tree19dcbe1a1fc27fdaf321fe108f1b5c8956dfe5f5 /Library/Formula
parentffe8fff74b4f5233f62b31422c81e4eb8bf4ec7f (diff)
downloadhomebrew-190e93a02d3a6036e70370cd56fa36bf0110de2f.tar.bz2
wrk/wrk-trello conflict
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/wrk-trello.rb2
-rw-r--r--Library/Formula/wrk.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/wrk-trello.rb b/Library/Formula/wrk-trello.rb
index 710d569f4..e93bcf67d 100644
--- a/Library/Formula/wrk-trello.rb
+++ b/Library/Formula/wrk-trello.rb
@@ -5,6 +5,8 @@ class WrkTrello < Formula
url 'http://cloud.github.com/downloads/blangel/wrk/wrk-1.0.1.tar.gz'
sha1 'e517e9fb66dc285321b38a398aae35956c83a0ea'
+ conflicts_with 'wrk', :because => 'both install `wrk` binaries'
+
def script; <<-EOS.undent
#!/bin/sh
export WRK_HOME="#{libexec}"
diff --git a/Library/Formula/wrk.rb b/Library/Formula/wrk.rb
index ee403d405..2196cd291 100644
--- a/Library/Formula/wrk.rb
+++ b/Library/Formula/wrk.rb
@@ -5,6 +5,8 @@ class Wrk < Formula
url 'https://github.com/wg/wrk/archive/2.2.2.tar.gz'
sha1 'e13ebcea4d88137c788363daafae546b0ccdbf19'
+ conflicts_with 'wrk-trello', :because => 'both install `wrk` binaries'
+
def install
system "make"
bin.install "wrk"