homebrew-core/Formula/redland.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
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.
2009-10-15 16:48:03 +01:00

23 lines
617 B
Ruby

require 'formula'
class Redland <Formula
@url='http://download.librdf.org/source/redland-1.0.9.tar.gz'
@homepage='http://librdf.org/'
@md5='e5ef0c29c55b4f0f5aeed7955b4d383b'
depends_on 'raptor'
depends_on 'rasqal'
depends_on 'pkg-config'
depends_on 'berkeley-db' => :optional
def install
ENV.gcc_4_2
system "./configure", "--prefix=#{prefix}",
"--disable-debug",
"--disable-dependency-tracking",
"--with-sqlite=yes",
"--with-bdb=#{HOMEBREW_PREFIX}"
system "make install"
end
end