clucene: use spec deps

This commit is contained in:
Jack Nagel 2013-09-21 18:33:42 -05:00
parent 3dffbc3a9e
commit bb6df5f8fb

View file

@ -5,9 +5,10 @@ class Clucene < Formula
url 'http://downloads.sourceforge.net/project/clucene/clucene-core-stable/0.9.21b/clucene-core-0.9.21b.tar.bz2'
sha1 '8bc505b64f82723c2dc901036cb0607500870973'
head 'git://clucene.git.sourceforge.net/gitroot/clucene/clucene'
depends_on 'cmake' => :build if build.head?
head do
url 'git://clucene.git.sourceforge.net/gitroot/clucene/clucene'
depends_on 'cmake' => :build
end
def install
if build.head?