61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
12 lines
400 B
Ruby
12 lines
400 B
Ruby
require 'formula'
|
|
|
|
class Clucene <Formula
|
|
@url='http://kent.dl.sourceforge.net/project/clucene/clucene-core-stable/0.9.21/clucene-core-0.9.21.tar.bz2'
|
|
@homepage='http://sourceforge.net/projects/clucene/'
|
|
@md5='181cf9a827fd072717d9b09d1a1bda74'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|