Strigi formula

Strigi is a daemon which uses a very fast and efficient crawler that can
index data on your harddrive. Indexing operations are performed without
hammering your system, this makes Strigi the fastest and smallest desktop
searching program.
This commit is contained in:
David Höppner 2009-09-19 11:48:25 +02:00
parent 3a7d329f9e
commit a454c26358

20
Formula/strigi.rb Normal file
View file

@ -0,0 +1,20 @@
require 'brewkit'
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'
def deps
BinaryDep.new('cmake')
LibraryDep.new('CLucene')
end
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