homebrew-core/Formula/strigi.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
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.
2009-10-15 16:48:03 +01:00

18 lines
466 B
Ruby

require 'formula'
class Strigi <Formula
@url='http://surfnet.dl.sourceforge.net/project/strigi/strigi/strigi-0.6.4/strigi-0.6.4.tar.bz2'
@homepage='http://strigi.sourceforge.net/'
@md5='324fd9606ac77765501717ff92c04f9a'
depends_on 'cmake'
depends_on 'CLucene'
def install
ENV['CLUCENE_HOME'] = HOMEBREW_PREFIX
ENV['EXPAT_HOME'] = '/usr/'
system "cmake . #{std_cmake_parameters} -DENABLE_EXPAT:BOOL=ON"
system "make install"
end
end