2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-19 09:48:25 +00:00
|
|
|
|
|
|
|
class Strigi <Formula
|
2010-03-14 12:21:52 +00:00
|
|
|
url 'http://www.vandenoever.info/software/strigi/strigi-0.7.2.tar.bz2'
|
|
|
|
homepage 'http://strigi.sourceforge.net/'
|
|
|
|
md5 'ca09ba176cf3ffe9afce4d92f38f9a85'
|
2009-09-19 09:48:25 +00:00
|
|
|
|
2009-09-21 18:00:13 +00:00
|
|
|
depends_on 'cmake'
|
2010-02-02 00:00:54 +00:00
|
|
|
depends_on 'clucene'
|
2009-09-19 09:48:25 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
ENV['CLUCENE_HOME'] = HOMEBREW_PREFIX
|
|
|
|
ENV['EXPAT_HOME'] = '/usr/'
|
|
|
|
|
2010-02-02 00:00:54 +00:00
|
|
|
system "cmake . #{std_cmake_parameters} -DENABLE_EXPAT:BOOL=ON -DENABLE_DBUS:BOOL=OFF"
|
2009-09-19 09:48:25 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|