2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-19 09:48:25 +00:00
|
|
|
|
|
|
|
class Strigi <Formula
|
2009-11-12 13:09:19 +00:00
|
|
|
@url='http://downloads.sourceforge.net/project/strigi/strigi/strigi-0.6.4/strigi-0.6.4.tar.bz2'
|
2009-09-19 09:48:25 +00:00
|
|
|
@homepage='http://strigi.sourceforge.net/'
|
|
|
|
@md5='324fd9606ac77765501717ff92c04f9a'
|
|
|
|
|
2009-09-21 18:00:13 +00:00
|
|
|
depends_on 'cmake'
|
|
|
|
depends_on 'CLucene'
|
2009-09-19 09:48:25 +00:00
|
|
|
|
|
|
|
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
|