2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-19 09:52:11 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Soprano < Formula
|
2010-04-09 15:34:17 +00:00
|
|
|
homepage 'http://soprano.sourceforge.net/'
|
2012-02-22 05:12:27 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/soprano/Soprano/2.6.0/soprano-2.6.0.tar.bz2'
|
2011-02-12 11:24:12 +00:00
|
|
|
md5 '03ae49e87c6ec99e57d0433c2650846f'
|
2009-09-19 09:52:11 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'cmake' => :build
|
2009-09-21 18:00:13 +00:00
|
|
|
depends_on 'qt'
|
2010-02-02 17:29:00 +00:00
|
|
|
depends_on 'clucene' => :optional
|
|
|
|
depends_on 'raptor' => :optional
|
|
|
|
depends_on 'redland' => :optional
|
2009-09-19 09:52:11 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
ENV['CLUCENE_HOME'] = HOMEBREW_PREFIX
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2012-02-22 05:12:27 +00:00
|
|
|
system "cmake #{std_cmake_parameters} ."
|
2009-09-19 09:52:11 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|