homebrew-core/Formula/clucene.rb
Moxie Dee 5dded70295 homepage updated
Closes Homebrew/homebrew#14477.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-27 10:43:56 -07:00

23 lines
669 B
Ruby

require 'formula'
class Clucene < Formula
homepage 'http://clucene.sourceforge.net'
url 'http://downloads.sourceforge.net/project/clucene/clucene-core-stable/0.9.21/clucene-core-0.9.21.tar.bz2'
md5 '181cf9a827fd072717d9b09d1a1bda74'
head 'git://clucene.git.sourceforge.net/gitroot/clucene/clucene'
def install
if build.head?
system "cmake", ".", *std_cmake_args
else
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
end
# Serialize the install step. See:
# https://github.com/mxcl/homebrew/issues/8712
ENV.j1
system "make install"
end
end