61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
19 lines
454 B
Ruby
19 lines
454 B
Ruby
require 'formula'
|
|
|
|
class Soprano <Formula
|
|
@url='http://surfnet.dl.sourceforge.net/project/soprano/Soprano/2.3.1/soprano-2.3.1.tar.bz2'
|
|
@homepage='http://soprano.sourceforge.net/'
|
|
@md5='c9a2c008b80cd5d76599e9d48139dfe9'
|
|
|
|
depends_on 'cmake'
|
|
depends_on 'qt'
|
|
depends_on 'clucene'
|
|
depends_on 'redland'
|
|
|
|
def install
|
|
ENV['CLUCENE_HOME'] = HOMEBREW_PREFIX
|
|
|
|
system "cmake . #{std_cmake_parameters}"
|
|
system "make install"
|
|
end
|
|
end
|