homebrew-core/Formula/clucene.rb

24 lines
678 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Clucene < Formula
homepage 'http://clucene.sourceforge.net'
2012-02-22 05:12:27 +00:00
url 'http://downloads.sourceforge.net/project/clucene/clucene-core-stable/0.9.21/clucene-core-0.9.21.tar.bz2'
sha1 'a614977097b64266b4207016e269c34b2217b0b2'
2012-08-27 05:17:25 +00:00
2011-05-11 21:48:58 +00:00
head 'git://clucene.git.sourceforge.net/gitroot/clucene/clucene'
def install
2012-08-27 05:17:25 +00:00
if build.head?
system "cmake", ".", *std_cmake_args
2011-05-11 21:48:58 +00:00
else
2012-02-22 05:12:27 +00:00
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
2011-05-11 21:48:58 +00:00
end
2011-11-22 04:03:04 +00:00
2012-03-11 02:33:13 +00:00
# Serialize the install step. See:
2011-11-22 04:03:04 +00:00
# https://github.com/mxcl/homebrew/issues/8712
ENV.j1
system "make install"
end
end