clusterit/couchdb-lucene conflict

This commit is contained in:
Adam Vandenberg 2013-11-06 20:52:03 -08:00
parent cf4141509c
commit d5de3ee8b7
2 changed files with 5 additions and 1 deletions

View file

@ -5,6 +5,8 @@ class Clusterit < Formula
url 'http://downloads.sourceforge.net/project/clusterit/clusterit/clusterit-2.5/clusterit-2.5.tar.gz'
sha1 '65d36116665179dd16029ac53182fde92d868020'
conflicts_with 'couchdb-lucene', :because => 'both install a `run` binary'
depends_on :x11
def install

View file

@ -5,6 +5,8 @@ class CouchdbLucene < Formula
url 'https://github.com/rnewson/couchdb-lucene/archive/v0.9.0.tar.gz'
sha1 '99b8f8f1e644e6840896ee6c9b19c402042c1896'
conflicts_with 'clusterit', :because => 'both install a `run` binary'
depends_on 'couchdb'
depends_on 'maven'
@ -14,7 +16,7 @@ class CouchdbLucene < Formula
system "tar", "-xzf", "target/couchdb-lucene-#{version}-dist.tar.gz"
prefix.install Dir["couchdb-lucene-#{version}/*"]
(etc + "couchdb/local.d/couchdb-lucene.ini").write ini_file
(etc/"couchdb/local.d/couchdb-lucene.ini").write ini_file
end
def ini_file; <<-EOS.undent