homebrew-core/Formula/strigi.rb

20 lines
506 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Strigi < Formula
2010-03-14 12:21:52 +00:00
homepage 'http://strigi.sourceforge.net/'
2012-02-22 05:12:27 +00:00
url 'http://www.vandenoever.info/software/strigi/strigi-0.7.2.tar.bz2'
2010-03-14 12:21:52 +00:00
md5 'ca09ba176cf3ffe9afce4d92f38f9a85'
depends_on 'cmake' => :build
depends_on 'clucene'
2010-04-10 13:21:05 +00:00
depends_on 'exiv2' => :optional
def install
ENV['CLUCENE_HOME'] = HOMEBREW_PREFIX
ENV['EXPAT_HOME'] = '/usr/'
2012-02-22 05:12:27 +00:00
system "cmake #{std_cmake_parameters} -DENABLE_EXPAT:BOOL=ON -DENABLE_DBUS:BOOL=OFF ."
system "make install"
end
end